mirror of
https://github.com/samsonjs/media.git
synced 2026-03-31 10:25:48 +00:00
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
(cherry picked from commit 6853ffccae)
This commit is contained in:
parent
5d7c9142ba
commit
1da24b2875
1 changed files with 3 additions and 0 deletions
|
|
@ -1228,6 +1228,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…
Reference in a new issue