summaryrefslogtreecommitdiff
path: root/gst-libs/gst
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2016-01-16 17:14:54 +0200
committerSebastian Dröge <sebastian@centricular.com>2016-01-16 17:14:54 +0200
commit3184175dae0adfe3a59c38b2fbb8fba5b2a1b27c (patch)
treefab0086b44d1d06b74ac155759e4ec5a6728cb6c /gst-libs/gst
parentc08c795bb42768ecd26bc524d62833bc962e860e (diff)
downloadgstreamer-plugins-bad-3184175dae0adfe3a59c38b2fbb8fba5b2a1b27c.tar.gz
glfilter: First make caps writable in fixate_caps(), then truncate them
Truncating requires writable caps.
Diffstat (limited to 'gst-libs/gst')
-rw-r--r--gst-libs/gst/gl/gstglfilter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/gl/gstglfilter.c b/gst-libs/gst/gl/gstglfilter.c
index 772efd757..b43d2ac78 100644
--- a/gst-libs/gst/gl/gstglfilter.c
+++ b/gst-libs/gst/gl/gstglfilter.c
@@ -240,8 +240,8 @@ gst_gl_filter_fixate_caps (GstBaseTransform * bt,
GValue fpar = { 0, }, tpar = {
0,};
- othercaps = gst_caps_truncate (othercaps);
othercaps = gst_caps_make_writable (othercaps);
+ othercaps = gst_caps_truncate (othercaps);
GST_DEBUG_OBJECT (bt, "trying to fixate othercaps %" GST_PTR_FORMAT
" based on caps %" GST_PTR_FORMAT, othercaps, caps);