summaryrefslogtreecommitdiff
path: root/gst/goom2k1
diff options
context:
space:
mode:
Diffstat (limited to 'gst/goom2k1')
-rw-r--r--gst/goom2k1/gstgoom.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gst/goom2k1/gstgoom.c b/gst/goom2k1/gstgoom.c
index ae78d976d..ee01a2aa1 100644
--- a/gst/goom2k1/gstgoom.c
+++ b/gst/goom2k1/gstgoom.c
@@ -268,8 +268,7 @@ gst_goom_src_negotiate (GstGoom * goom)
if (gst_caps_is_empty (target))
goto no_format;
- target = gst_caps_make_writable (target);
- gst_caps_truncate (target);
+ target = gst_caps_truncate (target);
} else {
target = gst_caps_copy (templ);
}