diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2016-01-16 16:55:42 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-01-16 16:55:42 +0200 |
commit | 2018167ee2a11372f21b8d98ac06f422115711c8 (patch) | |
tree | 3ecc389dea1df19824c413de41263d92a2e84c86 /gst-libs/gst | |
parent | 63ffe374ab56a7423a4b0f9b369535a01249d817 (diff) | |
download | gstreamer-plugins-bad-2018167ee2a11372f21b8d98ac06f422115711c8.tar.gz |
Revert "glpool: fix caps refcount issue"
This reverts commit 3bdcdedfa00b87f1db505218789178318a16c743.
gst_caps_replace() takes a new reference already, if there is a problem then
it is elsewhere. And there are a few problems, see
https://bugzilla.gnome.org/show_bug.cgi?id=760696
Diffstat (limited to 'gst-libs/gst')
-rw-r--r-- | gst-libs/gst/gl/gstglbufferpool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/gl/gstglbufferpool.c b/gst-libs/gst/gl/gstglbufferpool.c index 598425c88..c419ad5f7 100644 --- a/gst-libs/gst/gl/gstglbufferpool.c +++ b/gst-libs/gst/gl/gstglbufferpool.c @@ -114,7 +114,7 @@ gst_gl_buffer_pool_set_config (GstBufferPool * pool, GstStructure * config) if (!gst_buffer_pool_config_get_allocator (config, &allocator, &alloc_params)) goto wrong_config; - gst_caps_replace (&priv->caps, gst_caps_ref (caps)); + gst_caps_replace (&priv->caps, caps); if (priv->allocator) gst_object_unref (priv->allocator); |