mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 05:56:31 +00:00
videoparsers: set interlaced field in caps for mpeg2
https://bugzilla.gnome.org/show_bug.cgi?id=667218
This commit is contained in:
parent
f547336fdc
commit
521e8b199b
1 changed files with 3 additions and 0 deletions
|
@ -673,6 +673,9 @@ gst_mpegv_parse_update_src_caps (GstMpegvParse * mpvparse)
|
|||
gst_caps_set_simple (caps, "level", G_TYPE_STRING, level, NULL);
|
||||
else
|
||||
GST_DEBUG_OBJECT (mpvparse, "Invalid level - %u", level_c);
|
||||
|
||||
gst_caps_set_simple (caps, "interlaced",
|
||||
G_TYPE_BOOLEAN, !mpvparse->sequenceext.progressive, NULL);
|
||||
}
|
||||
|
||||
gst_pad_set_caps (GST_BASE_PARSE_SRC_PAD (mpvparse), caps);
|
||||
|
|
Loading…
Reference in a new issue