summaryrefslogtreecommitdiff
path: root/ext/gl/gstglcolorbalance.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gl/gstglcolorbalance.c')
-rw-r--r--ext/gl/gstglcolorbalance.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gl/gstglcolorbalance.c b/ext/gl/gstglcolorbalance.c
index 26c51e8e9..f448e9b46 100644
--- a/ext/gl/gstglcolorbalance.c
+++ b/ext/gl/gstglcolorbalance.c
@@ -181,7 +181,7 @@ static GstCaps *
gcb_transform_internal_caps (GstGLFilter * filter,
GstPadDirection direction, GstCaps * caps, GstCaps * filter_caps)
{
- GstCaps *tmp = gst_caps_make_writable (caps);
+ GstCaps *tmp = gst_caps_copy (caps);
gint i;
/* If we're not in passthrough mode, we can only output 2D textures,
* but can always receive any compatible texture.