diff --git a/lib/cea/mp4_cea_parser.js b/lib/cea/mp4_cea_parser.js index d89dcd5472..fb538e3a28 100644 --- a/lib/cea/mp4_cea_parser.js +++ b/lib/cea/mp4_cea_parser.js @@ -216,7 +216,7 @@ shaka.cea.Mp4CeaParser = class { box.version != null, 'TFDT is a full box and should have a valid version.'); - const parsedTFDT = shaka.util.Mp4BoxParsers.parseTFDT( + const parsedTFDT = shaka.util.Mp4BoxParsers.parseTFDTInaccurate( box.reader, box.version); baseMediaDecodeTime = parsedTFDT.baseMediaDecodeTime; diff --git a/lib/text/mp4_vtt_parser.js b/lib/text/mp4_vtt_parser.js index 90f34eba08..e8ca45be06 100644 --- a/lib/text/mp4_vtt_parser.js +++ b/lib/text/mp4_vtt_parser.js @@ -135,7 +135,7 @@ shaka.text.Mp4VttParser = class { box.version == 0 || box.version == 1, 'TFDT version can only be 0 or 1'); - const parsedTFDTBox = shaka.util.Mp4BoxParsers.parseTFDT( + const parsedTFDTBox = shaka.util.Mp4BoxParsers.parseTFDTInaccurate( box.reader, box.version); baseTime = parsedTFDTBox.baseMediaDecodeTime; })