mirror of
https://github.com/samsonjs/media.git
synced 2026-03-27 09:45:47 +00:00
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
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Reference in a new issue