Commit e066785a authored by Wim Taymans's avatar Wim Taymans

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.
parent 66588ae6
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment