Replacing Flush with Collection.emptyList

This commit is contained in:
Sadashiva Neelavara 2020-04-06 10:16:54 -07:00 committed by Ian Baker
parent 59b8552ac0
commit 0ef38fcd1a

View File

@ -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;
} }
} }
} }