Ignore rowLock and numLock as define in CTA-708 spec.

Update current row value when new line is added.
This commit is contained in:
datdoantelus 2024-04-25 12:32:25 -04:00 committed by Ian Baker
parent 174d452bf7
commit 3b7ec52ca8

View File

@ -1228,6 +1228,8 @@ public final class Cea708Decoder extends CeaDecoder {
|| rolledUpCaptions.size() >= MAXIMUM_ROW_COUNT) {
rolledUpCaptions.remove(0);
}
// update row value after newline
row = rolledUpCaptions.size();
} else {
captionStringBuilder.append(text);
}