videoparsers: set interlaced field in caps for mpeg2

https://bugzilla.gnome.org/show_bug.cgi?id=667218
This commit is contained in:
Rob Clark 2011-12-26 21:57:48 -06:00 committed by Vincent Penquerc'h
parent f547336fdc
commit 521e8b199b

View file

@ -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);