mirror of
https://github.com/samsonjs/media.git
synced 2026-03-31 10:25:48 +00:00
Ignore rowLock and columnLock values as specified by ANSI/CTA-708-E S-2023 document (section 8.4.7)
This commit is contained in:
parent
c230414bd3
commit
8b39f7e287
1 changed files with 6 additions and 2 deletions
|
|
@ -783,8 +783,12 @@ public final class Cea708Parser implements SubtitleParser {
|
|||
// first byte
|
||||
captionChannelPacketData.skipBits(2); // null padding
|
||||
boolean visible = captionChannelPacketData.readBit();
|
||||
boolean rowLock = captionChannelPacketData.readBit();
|
||||
boolean columnLock = captionChannelPacketData.readBit();
|
||||
|
||||
// ANSI/CTA-708-E S-2023 spec (Section 8.4.7) indicates that rowLock and columnLock should be ignored and assumed to be lock
|
||||
captionChannelPacketData.readBits(2);
|
||||
boolean rowLock = true;
|
||||
boolean columnLock = true;
|
||||
|
||||
int priority = captionChannelPacketData.readBits(3);
|
||||
// second byte
|
||||
boolean relativePositioning = captionChannelPacketData.readBit();
|
||||
|
|
|
|||
Loading…
Reference in a new issue