diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-11-21 14:20:38 +0200 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-11-21 14:20:38 +0200 |
commit | 5a3edf4c0769c7e354ab6c9b0be3aa402254ff10 (patch) | |
tree | 129a8fdfa27ce0e10809442b28733f58c101b0d2 /TOOLS | |
parent | dcaad783b049c311fe253ffa4f7ae405af4716c7 (diff) | |
download | mpv-5a3edf4c0769c7e354ab6c9b0be3aa402254ff10.tar.bz2 mpv-5a3edf4c0769c7e354ab6c9b0be3aa402254ff10.tar.xz |
TOOLS/matroska.py: recognize 3 more elements
Add definitions for DisplayUnit, OutputSamplingFrequency and
FileDescription in matroska.py. Regenerate the C template files to
allow using all current definitions in code.
Diffstat (limited to 'TOOLS')
-rwxr-xr-x | TOOLS/matroska.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/TOOLS/matroska.py b/TOOLS/matroska.py index 4096d839f1..fb17f48e45 100755 --- a/TOOLS/matroska.py +++ b/TOOLS/matroska.py @@ -95,10 +95,12 @@ elements_matroska = ( 'PixelHeight, ba, uint', 'DisplayWidth, 54b0, uint', 'DisplayHeight, 54ba, uint', + 'DisplayUnit, 54b2, uint', 'FrameRate, 2383e3, float', ), 'Audio, e1, sub', ( 'SamplingFrequency, b5, float', + 'OutputSamplingFrequency, 78b5, float', 'Channels, 9f, uint', 'BitDepth, 6264, uint', ), @@ -128,6 +130,7 @@ elements_matroska = ( 'Attachments, 1941a469, sub', ( 'AttachedFile*, 61a7, sub', ( + 'FileDescription, 467e, str', 'FileName, 466e, str', 'FileMimeType, 4660, str', 'FileData, 465c, binary', |