Add info about trick-playness to the Format log string

PiperOrigin-RevId: 382139109
This commit is contained in:
aquilescanta 2021-06-29 20:19:50 +01:00 committed by Oliver Woodman
parent 6e4508daec
commit 764f9f20d6

View File

@ -1365,6 +1365,9 @@ public final class Format implements Parcelable {
if (format.label != null) { if (format.label != null) {
builder.append(", label=").append(format.label); builder.append(", label=").append(format.label);
} }
if ((format.roleFlags & C.ROLE_FLAG_TRICK_PLAY) != 0) {
builder.append(", trick-play-track");
}
return builder.toString(); return builder.toString();
} }