mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Ignore rowLock and numLock as define in CTA-708 spec.
Update current row value when new line is added.
This commit is contained in:
parent
174d452bf7
commit
3b7ec52ca8
1 changed files with 2 additions and 0 deletions
|
|
@ -1228,6 +1228,8 @@ public final class Cea708Decoder extends CeaDecoder {
|
||||||
|| rolledUpCaptions.size() >= MAXIMUM_ROW_COUNT) {
|
|| rolledUpCaptions.size() >= MAXIMUM_ROW_COUNT) {
|
||||||
rolledUpCaptions.remove(0);
|
rolledUpCaptions.remove(0);
|
||||||
}
|
}
|
||||||
|
// update row value after newline
|
||||||
|
row = rolledUpCaptions.size();
|
||||||
} else {
|
} else {
|
||||||
captionStringBuilder.append(text);
|
captionStringBuilder.append(text);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue