mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 04:56:24 +00:00
Revert "glpool: fix caps refcount issue"
This reverts commit 3bdcdedfa0
.
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
This commit is contained in:
parent
63ffe374ab
commit
2018167ee2
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
if (!gst_buffer_pool_config_get_allocator (config, &allocator, &alloc_params))
|
||||||
goto wrong_config;
|
goto wrong_config;
|
||||||
|
|
||||||
gst_caps_replace (&priv->caps, gst_caps_ref (caps));
|
gst_caps_replace (&priv->caps, caps);
|
||||||
|
|
||||||
if (priv->allocator)
|
if (priv->allocator)
|
||||||
gst_object_unref (priv->allocator);
|
gst_object_unref (priv->allocator);
|
||||||
|
|
Loading…
Reference in a new issue