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:
f351f3a
)
vkqueue: unly unref the context query if it succeeds
author
Matthew Waters
<matthew@centricular.com>
Wed, 8 May 2019 04:48:43 +0000
(14:48 +1000)
committer
Matthew Waters
<matthew@centricular.com>
Tue, 4 Jun 2019 09:03:44 +0000
(09:03 +0000)
gst-libs/gst/vulkan/gstvkqueue.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/vulkan/gstvkqueue.c
b/gst-libs/gst/vulkan/gstvkqueue.c
index 8d187ad2acc1eb7b81281996c47d93e9085a637d..5052525e6688f8584c4cffc4092ac456774e3043 100644
(file)
--- a/
gst-libs/gst/vulkan/gstvkqueue.c
+++ b/
gst-libs/gst/vulkan/gstvkqueue.c
@@
-266,12
+266,12
@@
gst_vulkan_queue_run_context_query (GstElement * element,
gst_query_parse_context (query, &context);
if (context)
gst_context_get_vulkan_queue (context, queue);
+
+ gst_query_unref (query);
}
GST_DEBUG_OBJECT (element, "found queue %p", *queue);
- gst_query_unref (query);
-
if (*queue)
return TRUE;