mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 07:46:38 +00:00
[MOVED FROM GOOD] 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.
This commit is contained in:
parent
1aa90c3ce1
commit
44a5658faa
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue