[Bug 724481] bufferpool: Doesn't reset buffers when releasing them to the pool
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Tue Feb 25 23:48:59 PST 2014
https://bugzilla.gnome.org/show_bug.cgi?id=724481
GStreamer | gstreamer (core) | git
Olivier Crete (Tester) <olivier.crete> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |olivier.crete at ocrete.ca
--- Comment #7 from Olivier Crete (Tester) <olivier.crete at ocrete.ca> 2014-02-26 08:10:24 UTC ---
(In reply to comment #6)
> The only gap I see is about memory, the buffer might come back to the pool
> before the memory is released. In this case the buffer is not invalid, it's
> just not yet ready to be reused.
My solution here is to have reset_buffer() calls gst_buffer_remove_all_memory()
and re-assemble the buffer & memory(s) in acquire_buffer().
--
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