UNPKG

mp4box

Version:

JavaScript version of GPAC's MP4Box tool

12 lines (10 loc) 461 B
BoxParser.createFullBoxCtor("cslg", "CompositionToDecodeBox", function(stream) { var entry_count; if (this.version === 0) { this.compositionToDTSShift = stream.readInt32(); /* signed */ this.leastDecodeToDisplayDelta = stream.readInt32(); /* signed */ this.greatestDecodeToDisplayDelta = stream.readInt32(); /* signed */ this.compositionStartTime = stream.readInt32(); /* signed */ this.compositionEndTime = stream.readInt32(); /* signed */ } });