mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
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:
parent
66588ae60d
commit
e066785ad0
1 changed files with 10 additions and 0 deletions
|
@ -976,6 +976,16 @@ gst_ffmpeg_codecid_to_caps (enum AVCodecID codec_id,
|
||||||
gst_ff_vid_caps_new (context, NULL, codec_id, encode,
|
gst_ff_vid_caps_new (context, NULL, codec_id, encode,
|
||||||
"video/x-divx", "divxversion", G_TYPE_INT, 5, NULL);
|
"video/x-divx", "divxversion", G_TYPE_INT, 5, NULL);
|
||||||
break;
|
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'):
|
case GST_MAKE_FOURCC ('m', 'p', '4', 'v'):
|
||||||
default:
|
default:
|
||||||
/* FIXME: bitrate */
|
/* FIXME: bitrate */
|
||||||
|
|
Loading…
Reference in a new issue