Add mapping for SMPTE 302m audio
authorDavid Schleef <ds@schleef.org>
Tue, 5 Feb 2013 02:10:42 +0000 (18:10 -0800)
committerDavid Schleef <ds@schleef.org>
Tue, 5 Feb 2013 02:10:42 +0000 (18:10 -0800)
ext/libav/gstavcodecmap.c

index e31378b..a760b68 100644 (file)
@@ -1949,6 +1949,10 @@ gst_ffmpeg_codecid_to_caps (enum CodecID codec_id,
       }
       break;
 
+    case CODEC_ID_S302M:
+      caps = gst_caps_new_empty_simple ("audio/x-smpte-302m");
+      break;
+
     case CODEC_ID_DVD_SUBTITLE:
     case CODEC_ID_DVB_SUBTITLE:
       caps = NULL;