[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:12:53 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=694804
  GStreamer | gstreamer (core) | git

--- Comment #5 from Wim Taymans <wim.taymans at gmail.com> 2013-03-13 10:12:47 UTC ---
(In reply to comment #4)
> Does that really matter?

It does to me

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

- Implement a method to iterate the queue buffers to filter out a buffer that
  you want.

What exactly would you want to do with the buffers from atomic queue?

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