Original commit message from CVS:
* 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
+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
+
2008-11-29 Sebastian Dröge <sebastian.droege@collabora.co.uk>
Patch by: Cygwin Ports maintainer
}
/* Now we should have a ximage, set appropriate caps on it */
if (ximage) {
+ /* Make sure the buffer is cleared of any previously used flags */
+ GST_MINI_OBJECT_CAST (ximage)->flags = 0;
gst_buffer_set_caps (GST_BUFFER_CAST (ximage), alloc_caps);
}
}
if (xvimage) {
+ /* Make sure the buffer is cleared of any previously used flags */
+ GST_MINI_OBJECT_CAST (xvimage)->flags = 0;
gst_buffer_set_caps (GST_BUFFER_CAST (xvimage), intersection);
}