[Bug 694804] bufferpool: No way to override acquire_buffer to chose a sensible buffer
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Wed Mar 13 03:28:53 PDT 2013
https://bugzilla.gnome.org/show_bug.cgi?id=694804
GStreamer | gstreamer (core) | git
--- Comment #6 from Sebastian Dröge <slomo at circular-chaos.org> 2013-03-13 10:28:50 UTC ---
(In reply to comment #5)
> > I don't see how we could allow subclasses to do anything useful in acquire
> > without making the pool not-atomic.
>
> some options:
>
> - You override the acquire, release and stop methods and take a buffer from
> your own queue/array/whatever you use to implement the pool. We need to make
> do_alloc_buffer() public.
That would be possible, yes.
> - Implement a method to iterate the queue buffers to filter out a buffer that
> you want.
I don't think that's possible with the atomic queue without making it
non-atomic.
> What exactly would you want to do with the buffers from atomic queue?
In gst-omx I need to acquire a very specific buffer from the pool.
--
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