mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
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:
parent
b6538e0560
commit
6dfca46ada
1 changed files with 1 additions and 0 deletions
|
@ -530,6 +530,7 @@ static void
|
||||||
gst_va_mpeg2_dec_init (GTypeInstance * instance, gpointer g_class)
|
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_base_dec_init (GST_VA_BASE_DEC (instance), GST_CAT_DEFAULT);
|
||||||
|
GST_VA_MPEG2_DEC (instance)->progressive = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue