mirror of
https://github.com/androidx/media.git
synced 2025-05-21 23:56:32 +08: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 6853ffccae53b0f01c8a818d64ed8dc18d1c60b0)
This commit is contained in:
parent
5d7c9142ba
commit
1da24b2875
@ -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…
x
Reference in New Issue
Block a user