Add container to Format.toLogString
While investigating Issue: androidx/media#887 I naively assumed the CEA-608 captions were in a TS file, but they're actually in an MP4 (which is possibly obvious given DASH only supports MP4). This change includes container info in the `EventLogger` `tracks` output. PiperOrigin-RevId: 592192752
This commit is contained in:
parent
0b8a9a2ca4
commit
6853ffccae
@ -1232,6 +1232,9 @@ public final class Format implements Bundleable {
|
||||
}
|
||||
StringBuilder builder = new StringBuilder();
|
||||
builder.append("id=").append(format.id).append(", mimeType=").append(format.sampleMimeType);
|
||||
if (format.containerMimeType != null) {
|
||||
builder.append(", container=").append(format.containerMimeType);
|
||||
}
|
||||
if (format.bitrate != NO_VALUE) {
|
||||
builder.append(", bitrate=").append(format.bitrate);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user