summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/directdraw/gstdirectdrawsink.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/directdraw/gstdirectdrawsink.c b/sys/directdraw/gstdirectdrawsink.c
index 1dd334c2..a39e0335 100644
--- a/sys/directdraw/gstdirectdrawsink.c
+++ b/sys/directdraw/gstdirectdrawsink.c
@@ -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);
}