[Bug 745705] glfilter: GLBuffer pool may have two owners

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Mar 5 13:55:31 PST 2015


https://bugzilla.gnome.org/show_bug.cgi?id=745705

--- Comment #1 from Nicolas Dufresne (stormer) <nicolas.dufresne at collabora.co.uk> ---
Created attachment 298666
  --> https://bugzilla.gnome.org/attachment.cgi?id=298666&action=edit
[PATCH] glimagesink: Only cache pool, don't manage it


GLImage does not use any kind of internal pool. There was some
remaining code and comment stating that it was managing the
pool, and it was in fact setting the active state when doing
to ready state.

* Only create the pool if requested and in propose_allocation
* Cache the pool to avoid reallocation on spurious reconfigure
* Don't try to deactivate the pool (we don't own it)

https://bugzilla.gnome.org/show_bug.cgi?id=745705
---
 ext/gl/gstglimagesink.c | 99 +++++++++++++++++--------------------------------
 1 file changed, 35 insertions(+), 64 deletions(-)

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