mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 15:56:42 +00:00
codecmap: don't expose more deprecated media types
x-xvid is deprecated, we don't want to expose it on the encoder, just leave it only exposed on the decoder.
This commit is contained in:
parent
fd7ba73304
commit
df8674f6c3
1 changed files with 2 additions and 2 deletions
|
@ -991,8 +991,6 @@ gst_ffmpeg_codecid_to_caps (enum AVCodecID codec_id,
|
||||||
gst_ff_vid_caps_new (context, NULL, codec_id, encode, "video/mpeg",
|
gst_ff_vid_caps_new (context, NULL, codec_id, encode, "video/mpeg",
|
||||||
"mpegversion", G_TYPE_INT, 4, "systemstream", G_TYPE_BOOLEAN, FALSE,
|
"mpegversion", G_TYPE_INT, 4, "systemstream", G_TYPE_BOOLEAN, FALSE,
|
||||||
NULL);
|
NULL);
|
||||||
gst_caps_append (caps, gst_ff_vid_caps_new (context, NULL, codec_id,
|
|
||||||
encode, "video/x-xvid", NULL));
|
|
||||||
if (encode) {
|
if (encode) {
|
||||||
gst_caps_append (caps, gst_ff_vid_caps_new (context, NULL, codec_id,
|
gst_caps_append (caps, gst_ff_vid_caps_new (context, NULL, codec_id,
|
||||||
encode, "video/x-divx", "divxversion", G_TYPE_INT, 5, NULL));
|
encode, "video/x-divx", "divxversion", G_TYPE_INT, 5, NULL));
|
||||||
|
@ -1000,6 +998,8 @@ gst_ffmpeg_codecid_to_caps (enum AVCodecID codec_id,
|
||||||
gst_caps_append (caps, gst_ff_vid_caps_new (context, NULL, codec_id,
|
gst_caps_append (caps, gst_ff_vid_caps_new (context, NULL, codec_id,
|
||||||
encode, "video/x-divx", "divxversion", GST_TYPE_INT_RANGE, 4,
|
encode, "video/x-divx", "divxversion", GST_TYPE_INT_RANGE, 4,
|
||||||
5, NULL));
|
5, NULL));
|
||||||
|
gst_caps_append (caps, gst_ff_vid_caps_new (context, NULL, codec_id,
|
||||||
|
encode, "video/x-xvid", NULL));
|
||||||
gst_caps_append (caps, gst_ff_vid_caps_new (context, NULL, codec_id,
|
gst_caps_append (caps, gst_ff_vid_caps_new (context, NULL, codec_id,
|
||||||
encode, "video/x-3ivx", NULL));
|
encode, "video/x-3ivx", NULL));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue