Skip to content

Commit

Permalink
allow TrackTimestampScale in Matroska v4
Browse files Browse the repository at this point in the history
Following the investigation in #422 it seems like a good tool to achieve sample accurate timestamp in many (more) cases.
  • Loading branch information
robUx4 committed Nov 1, 2020
1 parent 4b2d857 commit 8f1c72c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ebml_matroska.xml
Original file line number Diff line number Diff line change
Expand Up @@ -334,9 +334,9 @@ see (#defaultdecodedfieldduration) for more information</documentation>
<extension webm="0"/>
<extension cppname="TrackDefaultDecodedFieldDuration"/>
</element>
<element name="TrackTimestampScale" path="\Segment\Tracks\TrackEntry\TrackTimestampScale" id="0x23314F" type="float" maxver="3" range="&gt; 0x0p+0" default="0x1p+0" minOccurs="1" maxOccurs="1">
<documentation lang="en" purpose="definition">DEPRECATED, DO NOT USE. The scale to apply on this track to work at normal speed in relation with other tracks
(mostly used to adjust video speed when the audio length differs).</documentation>
<element name="TrackTimestampScale" path="\Segment\Tracks\TrackEntry\TrackTimestampScale" id="0x23314F" type="float" range="&gt; 0x0p+0" default="0x1p+0" minOccurs="1" maxOccurs="1">
<documentation lang="en" purpose="definition">The scale to apply on this track to work at normal speed in relation with other tracks.
Mostly used to adjust video speed when the audio length differs or to have more accurate timestamps on each track.</documentation>
<extension webm="0"/>
<extension cppname="TrackTimecodeScale"/>
</element>
Expand Down

0 comments on commit 8f1c72c

Please sign in to comment.