From 445a301844850501b6d73a6ca4a2bf7a3daef55e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 13 May 2016 10:27:38 +0300 Subject: [PATCH] avcodecmap: Add mapping for G729 caps https://bugzilla.gnome.org/show_bug.cgi?id=766333 --- ext/libav/gstavcodecmap.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ext/libav/gstavcodecmap.c b/ext/libav/gstavcodecmap.c index 0a3292333d..c4f1f7e221 100644 --- a/ext/libav/gstavcodecmap.c +++ b/ext/libav/gstavcodecmap.c @@ -2133,6 +2133,11 @@ gst_ffmpeg_codecid_to_caps (enum AVCodecID codec_id, gst_ff_aud_caps_new (context, NULL, codec_id, encode, "audio/x-twin-vq", NULL); break; + case AV_CODEC_ID_G729: + caps = + gst_ff_aud_caps_new (context, NULL, codec_id, encode, "audio/G729", + NULL); + break; default: GST_DEBUG ("Unknown codec ID %d, please add mapping here", codec_id); break;