[Bug 667218] videoparsers: set interlaced field in caps for mpeg2

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jan 18 02:17:39 PST 2012


https://bugzilla.gnome.org/show_bug.cgi?id=667218
  GStreamer | gst-plugins-bad | git

Vincent Penquerc'h <vincent.penquerch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEEDINFO
                 CC|                            |vincent.penquerch at collabora
                   |                            |.co.uk

--- Comment #2 from Vincent Penquerc'h <vincent.penquerch at collabora.co.uk> 2012-01-18 10:17:34 UTC ---
Patch does not apply on latest git, but this one (against yours) does.
Can you confirm that's what was intended ?


diff --git a/gst/videoparsers/gstmpegvideoparse.c
b/gst/videoparsers/gstmpegvideoparse.c
index bcd0505..8d19046 100644
--- a/gst/videoparsers/gstmpegvideoparse.c
+++ b/gst/videoparsers/gstmpegvideoparse.c
@@ -675,7 +675,7 @@ gst_mpegv_parse_update_src_caps (GstMpegvParse * mpvparse)
       GST_DEBUG_OBJECT (mpvparse, "Invalid level - %u", level_c);

     gst_caps_set_simple (caps, "interlaced",
-        G_TYPE_BOOLEAN, !mpvparse->params.progressive, NULL);
+        G_TYPE_BOOLEAN, !mpvparse->sequenceext.progressive, NULL);
   }

   gst_pad_set_caps (GST_BASE_PARSE_SRC_PAD (mpvparse), caps);

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list