From 5a3edf4c0769c7e354ab6c9b0be3aa402254ff10 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Sun, 21 Nov 2010 14:20:38 +0200 Subject: 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. --- TOOLS/matroska.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'TOOLS') 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', -- cgit v1.2.3