projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb7ac03
)
glpool: fix caps refcount issue
author
Matthew Waters
<matthew@centricular.com>
Fri, 15 Jan 2016 03:00:56 +0000
(14:00 +1100)
committer
Matthew Waters
<matthew@centricular.com>
Fri, 15 Jan 2016 03:00:56 +0000
(14:00 +1100)
The caps are from an allocation query which are transfer none but were being
treated as transfer full.
gst-libs/gst/gl/gstglbufferpool.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/gl/gstglbufferpool.c
b/gst-libs/gst/gl/gstglbufferpool.c
index
c419ad5
..
598425c
100644
(file)
--- 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,
caps
);
+ gst_caps_replace (&priv->caps,
gst_caps_ref (caps)
);
if (priv->allocator)
gst_object_unref (priv->allocator);