[Bug 656155] ffdec_mpeg2video and interlace property

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Aug 29 06:29:17 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=656155
  GStreamer | gst-ffmpeg | 0.10.12

Vincent Penquerc'h <vincent.penquerch> changed:

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

--- Comment #4 from Vincent Penquerc'h <vincent.penquerch at collabora.co.uk> 2011-08-29 13:29:11 UTC ---
when the interlaced flag changes, the decoder renegotiates only after the frame
is decoded.
Looking at the code, it would seem best to include a check for that flag
changing in gst_ffmpegdec_negotiate,
so that renegotiation happens before the buffer is allocated.
This should cause the new buffers to be created with the right caps from the
start.
I'll start doing that, but changes seem to be needed at quite a few different
places, and I don't have any test case to ensure I don't forget any, or that
this approach works at all. Would you happen to have a captured stream showing
this happening ?
Thanks

-- 
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