codecmap: Add mapping for Voxware metasound
authorEdward Hervey <edward@centricular.com>
Thu, 8 Nov 2018 15:33:57 +0000 (16:33 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Thu, 8 Nov 2018 15:33:57 +0000 (16:33 +0100)
Allows actually decoding such streams :)

ext/libav/gstavcodecmap.c

index be95828..0c5a42f 100644 (file)
@@ -1014,6 +1014,12 @@ gst_ffmpeg_codecid_to_caps (enum AVCodecID codec_id,
           NULL);
       break;
 
+    case AV_CODEC_ID_METASOUND:
+      caps =
+          gst_ff_aud_caps_new (context, NULL, codec_id, encode,
+          "audio/x-voxware", NULL);
+      break;
+
     case AV_CODEC_ID_IMC:
       caps =
           gst_ff_aud_caps_new (context, NULL, codec_id, encode, "audio/x-imc",