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:
3aad6d7
)
glupload: unref the bufferpool
author
Matthew Waters
<matthew@centricular.com>
Fri, 13 Mar 2015 12:40:04 +0000
(12:40 +0000)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 9 Dec 2017 19:31:57 +0000
(19:31 +0000)
gst-libs/gst/gl/gstglupload.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/gl/gstglupload.c
b/gst-libs/gst/gl/gstglupload.c
index
773c946
..
d675f12
100644
(file)
--- a/
gst-libs/gst/gl/gstglupload.c
+++ b/
gst-libs/gst/gl/gstglupload.c
@@
-225,6
+225,9
@@
_gl_memory_upload_propose_allocation (gpointer impl, GstQuery * decide_query,
gst_query_add_allocation_pool (query, pool, size, 1, 0);
}
+ if (pool)
+ gst_object_unref (pool);
+
return;
invalid_caps: