[gstreamer-bugs] [Bug 321662] reenable our get_buffer function in gst-ffmpeg
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Mon Feb 13 04:56:05 PST 2006
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=321662
GStreamer | gst-ffmpeg | Ver: HEAD CVS
Edward Hervey changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bilboed at bilboed.com
------- Comment #2 from Edward Hervey 2006-02-13 12:56 UTC -------
After looking a bit further into it, the problem is when ffmpeg calls our
get_buffer when the src pad is flushing.
When we return -1, ffmpeg assumes the previous allocated buffer is to be
re-used.
And all hell breaks loose, because that means ffmpeg will call our
release_buffer functions twice !
A quick fix for this is to always allocate a valid buffer in get_buffer(). It
works fine with the attached patch.
--
Configure bugmail: http://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