Add subsampleOffsetUs
to Format.toLogString
This will help with debugging subtitle sync issues as it will show up in track selection details emitted to logcat by `EventLogger`. PiperOrigin-RevId: 561355836
This commit is contained in:
parent
64792dfda2
commit
53b882d803
@ -1217,6 +1217,9 @@ public final class Format implements Bundleable {
|
||||
if (format.label != null) {
|
||||
builder.append(", label=").append(format.label);
|
||||
}
|
||||
if (format.subsampleOffsetUs != OFFSET_SAMPLE_RELATIVE) {
|
||||
builder.append(", subsampleOffsetUs=").append(format.subsampleOffsetUs);
|
||||
}
|
||||
if (format.selectionFlags != 0) {
|
||||
List<String> selectionFlags = new ArrayList<>();
|
||||
// LINT.IfChange(selection_flags)
|
||||
|
Loading…
x
Reference in New Issue
Block a user