avcodecmap: Add mapping for G729 caps

https://bugzilla.gnome.org/show_bug.cgi?id=766333
This commit is contained in:
Sebastian Dröge 2016-05-13 10:27:38 +03:00
parent 438d6b3760
commit 445a301844

View file

@ -2133,6 +2133,11 @@ gst_ffmpeg_codecid_to_caps (enum AVCodecID codec_id,
gst_ff_aud_caps_new (context, NULL, codec_id, encode, gst_ff_aud_caps_new (context, NULL, codec_id, encode,
"audio/x-twin-vq", NULL); "audio/x-twin-vq", NULL);
break; break;
case AV_CODEC_ID_G729:
caps =
gst_ff_aud_caps_new (context, NULL, codec_id, encode, "audio/G729",
NULL);
break;
default: default:
GST_DEBUG ("Unknown codec ID %d, please add mapping here", codec_id); GST_DEBUG ("Unknown codec ID %d, please add mapping here", codec_id);
break; break;