mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-27 11:32:51 +00:00
mpegvideoparse: signal interlacing properly in video caps
The field is called "interlace-mode" mode now and is a string. https://bugzilla.gnome.org/show_bug.cgi?id=685895
This commit is contained in:
parent
380b23af90
commit
0b5fde7ed8
1 changed files with 3 additions and 2 deletions
|
@ -741,8 +741,9 @@ gst_mpegv_parse_update_src_caps (GstMpegvParse * mpvparse)
|
|||
else
|
||||
GST_DEBUG_OBJECT (mpvparse, "Invalid level - %u", level_c);
|
||||
|
||||
gst_caps_set_simple (caps, "interlaced",
|
||||
G_TYPE_BOOLEAN, !mpvparse->sequenceext.progressive, NULL);
|
||||
gst_caps_set_simple (caps, "interlace-mode",
|
||||
G_TYPE_STRING,
|
||||
(mpvparse->sequenceext.progressive ? "progressive" : "mixed"), NULL);
|
||||
}
|
||||
|
||||
gst_pad_set_caps (GST_BASE_PARSE_SRC_PAD (mpvparse), caps);
|
||||
|
|
Loading…
Reference in a new issue