diff options
author | Edward Hervey <edward@centricular.com> | 2018-11-08 16:33:57 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2019-05-02 08:39:37 +0100 |
commit | af3479229c080267527878658e87e77f9d8f20f0 (patch) | |
tree | d4ac3fc7004efc6bae056ec5e4414c65faf56610 | |
parent | 245da36cab8930e3d675b8873b7c8bfde40583fc (diff) | |
download | gst-libav-af3479229c080267527878658e87e77f9d8f20f0.tar.gz |
codecmap: Add mapping for Voxware metasound
Allows actually decoding such streams :)
-rw-r--r-- | ext/libav/gstavcodecmap.c | 6 |
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", |