summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <edward@centricular.com>2018-11-08 16:33:57 +0100
committerTim-Philipp Müller <tim@centricular.com>2019-05-02 08:39:37 +0100
commitaf3479229c080267527878658e87e77f9d8f20f0 (patch)
treed4ac3fc7004efc6bae056ec5e4414c65faf56610
parent245da36cab8930e3d675b8873b7c8bfde40583fc (diff)
downloadgst-libav-af3479229c080267527878658e87e77f9d8f20f0.tar.gz
codecmap: Add mapping for Voxware metasound
Allows actually decoding such streams :)
-rw-r--r--ext/libav/gstavcodecmap.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/libav/gstavcodecmap.c b/ext/libav/gstavcodecmap.c
index 9a72033..92a17fc 100644
--- a/ext/libav/gstavcodecmap.c
+++ b/ext/libav/gstavcodecmap.c
@@ -975,6 +975,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",