changeset 1209:46ccac3e2b32 libavformat

parse aes3 audio descriptor
author bcoudurier
date Mon, 31 Jul 2006 09:46:05 +0000
parents c199d552d934
children 29b89b8d6d4d
files mxf.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mxf.c	Sun Jul 30 15:30:00 2006 +0000
+++ b/mxf.c	Mon Jul 31 09:46:05 2006 +0000
@@ -155,6 +155,7 @@
 static const UID mxf_metadata_rgba_descriptor_key          = { 0x06,0x0e,0x2b,0x34,0x02,0x53,0x01,0x01,0x0d,0x01,0x01,0x01,0x01,0x01,0x29,0x00 };
 static const UID mxf_metadata_mpegvideo_descriptor_key     = { 0x06,0x0e,0x2b,0x34,0x02,0x53,0x01,0x01,0x0d,0x01,0x01,0x01,0x01,0x01,0x51,0x00 };
 static const UID mxf_metadata_wave_descriptor_key          = { 0x06,0x0e,0x2b,0x34,0x02,0x53,0x01,0x01,0x0d,0x01,0x01,0x01,0x01,0x01,0x48,0x00 };
+static const UID mxf_metadata_aes3_descriptor_key          = { 0x06,0x0e,0x2b,0x34,0x02,0x53,0x01,0x01,0x0d,0x01,0x01,0x01,0x01,0x01,0x47,0x00 };
 static const UID mxf_metadata_static_track_key             = { 0x06,0x0e,0x2b,0x34,0x02,0x53,0x01,0x01,0x0d,0x01,0x01,0x01,0x01,0x01,0x3A,0x00 };
 static const UID mxf_metadata_track_key                    = { 0x06,0x0e,0x2b,0x34,0x02,0x53,0x01,0x01,0x0d,0x01,0x01,0x01,0x01,0x01,0x3b,0x00 };
 
@@ -876,6 +877,8 @@
             ret = mxf_read_metadata_generic_descriptor(mxf, &klv);
         else if (IS_KLV_KEY(klv.key, mxf_metadata_generic_sound_descriptor_key))
             ret = mxf_read_metadata_generic_descriptor(mxf, &klv);
+        else if (IS_KLV_KEY(klv.key, mxf_metadata_aes3_descriptor_key))
+            ret = mxf_read_metadata_generic_descriptor(mxf, &klv);
         else if (IS_KLV_KEY(klv.key, mxf_metadata_preface_key))
             ret = mxf_read_metadata_preface(mxf, &klv);
         else if (IS_KLV_KEY(klv.key, mxf_metadata_content_storage_key))