vampeg2dec: Streams are progressive by default.

By initializating progressive, then interlaced streams are detected correctly.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3480>
This commit is contained in:
Victor Manuel Jaquez Leal 2022-11-28 19:31:57 +01:00 committed by Víctor Manuel Jáquez Leal
parent b6538e0560
commit 6dfca46ada

View file

@ -530,6 +530,7 @@ static void
gst_va_mpeg2_dec_init (GTypeInstance * instance, gpointer g_class)
{
gst_va_base_dec_init (GST_VA_BASE_DEC (instance), GST_CAT_DEFAULT);
GST_VA_MPEG2_DEC (instance)->progressive = 1;
}
static void