summaryrefslogtreecommitdiff
path: root/gst/shapewipe
diff options
context:
space:
mode:
Diffstat (limited to 'gst/shapewipe')
-rw-r--r--gst/shapewipe/gstshapewipe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/shapewipe/gstshapewipe.c b/gst/shapewipe/gstshapewipe.c
index 94d91cd28..55e7dd5e6 100644
--- a/gst/shapewipe/gstshapewipe.c
+++ b/gst/shapewipe/gstshapewipe.c
@@ -486,6 +486,7 @@ gst_shape_wipe_mask_sink_getcaps (GstShapeWipe * self, GstPad * pad,
if (gst_caps_is_empty (ret))
goto done;
+ ret = gst_caps_make_writable (ret);
n = gst_caps_get_size (ret);
tmp = gst_caps_new_empty ();
for (i = 0; i < n; i++) {