Replacing Flush with Collection.emptyList
This commit is contained in:
parent
59b8552ac0
commit
0ef38fcd1a
@ -1041,7 +1041,8 @@ public final class Cea608Decoder extends CeaDecoder {
|
|||||||
if (timeElapsed >= VALID_DATA_CHANNEL_TIMEOUT_MS) {
|
if (timeElapsed >= VALID_DATA_CHANNEL_TIMEOUT_MS) {
|
||||||
// Force erase captions. There might be stale captions stuck on screen.
|
// Force erase captions. There might be stale captions stuck on screen.
|
||||||
// (CEA-608 Annex C.9)
|
// (CEA-608 Annex C.9)
|
||||||
flush();
|
cues = Collections.emptyList();
|
||||||
|
ccTimeOutCounter = C.TIME_UNSET;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user