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
@ -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…
x
Reference in New Issue
Block a user