mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Replacing Flush with Collection.emptyList
This commit is contained in:
parent
59b8552ac0
commit
0ef38fcd1a
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Reference in a new issue