summaryrefslogtreecommitdiff
path: root/gst/goom2k1
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2012-03-11 19:06:37 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2012-03-11 19:06:37 +0100
commita32d944a3853e955a349c828fad53c2eb22ba497 (patch)
treed9e9c2510bd8a53245a084d33b8d3ddb31fec181 /gst/goom2k1
parent756948262c8bc596149eda346517e289f914a8a8 (diff)
fix for caps api changes
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);
}