Commit c02e043b authored by Ole Andre Vadla Ravnaas's avatar Ole Andre Vadla Ravnaas
Browse files

sys/directdraw/gstdirectdrawsink.c

Original commit message from CVS:
* sys/directdraw/gstdirectdrawsink.c
(gst_directdraw_sink_buffer_alloc):
Clear the flags on recycled buffers from buffer_alloc.
Partially fixes #520885.
The right fix this time.
parent b0638c5f
......@@ -705,6 +705,7 @@ gst_directdraw_sink_buffer_alloc (GstBaseSink * bsink, guint64 offset,
/* Now we should have a surface, set appropriate caps on it */
if (surface) {
GST_BUFFER_FLAGS (GST_BUFFER (surface)) = 0;
gst_buffer_set_caps (GST_BUFFER (surface), buffer_caps);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment