diff options
author | Edward Hervey <edward@centricular.com> | 2018-11-08 16:33:57 +0100 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2018-11-08 16:33:57 +0100 |
commit | 9d41d2747b9867a96f359149d02412572e98864a (patch) | |
tree | 86af4f31d7137a72510855949d3515053c63682d | |
parent | f7ba1047496bb5a404f7cc6a49b018568e6fce0e (diff) | |
download | gst-libav-9d41d2747b9867a96f359149d02412572e98864a.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 be95828..0c5a42f 100644 --- a/ext/libav/gstavcodecmap.c +++ b/ext/libav/gstavcodecmap.c @@ -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", |