summaryrefslogtreecommitdiffstats
path: root/TOOLS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-11-05 20:44:21 +0100
committerwm4 <wm4@nowhere>2014-11-05 21:52:07 +0100
commit805e952d82536f0ea435ca1e7c82178fb00640c6 (patch)
treeb2ad55ba1591037631c11a5e7f7382b162c8086b /TOOLS
parent8f992515cddda2ac4687047b66ef780d77abf8aa (diff)
downloadmpv-805e952d82536f0ea435ca1e7c82178fb00640c6.tar.bz2
mpv-805e952d82536f0ea435ca1e7c82178fb00640c6.tar.xz
demux_mkv: read CueRelativePosition/CueDuration elements
Nothing is done with them yet. This is preparation for the following commit. CueRelativePosition isn't even saved anywhere, because I don't intend to use it. (Too messy for no gain.)
Diffstat (limited to 'TOOLS')
-rw-r--r--TOOLS/lib/Parse/Matroska/Definitions.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/TOOLS/lib/Parse/Matroska/Definitions.pm b/TOOLS/lib/Parse/Matroska/Definitions.pm
index b320e1f6c8..adb13d0630 100644
--- a/TOOLS/lib/Parse/Matroska/Definitions.pm
+++ b/TOOLS/lib/Parse/Matroska/Definitions.pm
@@ -296,6 +296,8 @@ sub define_matroska {
elem('CueTrackPositions*', 'b7', {
elem('CueTrack', 'f7', 'uint'),
elem('CueClusterPosition', 'f1', 'uint'),
+ elem('CueRelativePosition','f0', 'uint'),
+ elem('CueDuration', 'b2', 'uint'),
}),
}),
}),