GNOME Bugzilla – Bug 563143
ximagesink/xvimagesink : _alloc_buffer returns non-clean buffers
Last modified: 2008-12-03 17:48:39 UTC
When using the image pool from x(v)imagesink, it doesn't clear the previously-set buffer flags if it uses a buffer from its pool. This causes obvious screwups with elements using those buffers (expecting them to be AS IF they were freshly created buffers).
Created attachment 123884 [details] [review] Clear flags of buffer This patch clears the flags of the buffers taken from the pool.
2008-12-03 Edward Hervey <edward.hervey@collabora.co.uk> * sys/ximage/ximagesink.c: (gst_ximagesink_buffer_alloc): * sys/xvimage/xvimagesink.c: (gst_xvimagesink_buffer_alloc): Clear all flags on buffers returned from the image pool. Fixes #563143