avcodecmap: do more reverse mapping of MPEG4

We previously mapped some caps to MPEG4 and codec_tag so we can use the
codec_tag again to map to the original caps.
This commit is contained in:
Wim Taymans 2014-05-29 17:00:23 +02:00
parent 66588ae60d
commit e066785ad0

View file

@ -976,6 +976,16 @@ gst_ffmpeg_codecid_to_caps (enum AVCodecID codec_id,
gst_ff_vid_caps_new (context, NULL, codec_id, encode,
"video/x-divx", "divxversion", G_TYPE_INT, 5, NULL);
break;
case GST_MAKE_FOURCC ('X', 'V', 'I', 'D'):
caps =
gst_ff_vid_caps_new (context, NULL, codec_id, encode,
"video/x-xvid", NULL);
break;
case GST_MAKE_FOURCC ('3', 'I', 'V', '1'):
caps =
gst_ff_vid_caps_new (context, NULL, codec_id, encode,
"video/x-3ivx", NULL);
break;
case GST_MAKE_FOURCC ('m', 'p', '4', 'v'):
default:
/* FIXME: bitrate */