From: Sebastian Dröge Date: Sat, 1 May 2010 12:15:49 +0000 (+0200) Subject: matroskademux: Set interlaced flag in the caps if the flag is set in the Matroska... X-Git-Tag: RELEASE-0.10.23~142 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1e1cf5df7042cc3cc989a0ad24d65b0cfda2e3cc;p=platform%2Fupstream%2Fgst-plugins-good.git matroskademux: Set interlaced flag in the caps if the flag is set in the Matroska file --- diff --git a/gst/matroska/matroska-demux.c b/gst/matroska/matroska-demux.c index 97c2438..ecbcd2d 100644 --- a/gst/matroska/matroska-demux.c +++ b/gst/matroska/matroska-demux.c @@ -6485,6 +6485,9 @@ gst_matroska_demux_video_caps (GstMatroskaTrackVideoContext * gst_structure_set (structure, "framerate", GST_TYPE_FRACTION, 25, 1, NULL); } + + if (videocontext->parent.flags & GST_MATROSKA_VIDEOTRACK_INTERLACED) + gst_structure_set (structure, "interlaced", G_TYPE_BOOLEAN, TRUE, NULL); } gst_caps_do_simplify (caps);