vajpegdec: only support progressive mjpeg streams

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5838>
This commit is contained in:
Víctor Manuel Jáquez Leal 2023-12-19 13:40:13 +01:00
parent ec4054e637
commit fdfd51397b

View file

@ -535,6 +535,10 @@ _fixup_sink_caps (GstVaDisplay * display, GstCaps * caps)
g_value_unset (&sampling);
return ret;
}
/* TODO: support interleaved mjpeg */
gst_caps_set_simple (caps, "interlace-mode", G_TYPE_STRING, "progressive",
NULL);
return gst_caps_ref (caps);
}