mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
Revert "vaapivideocontext: possible memleak when no bus attached"
This reverts commit 0438a3e626
.
This commit is contained in:
parent
af0bf7212b
commit
f9a57ccece
1 changed files with 1 additions and 3 deletions
|
@ -209,10 +209,8 @@ _gst_context_query (GstElement * element, const gchar * context_type)
|
|||
GST_CAT_INFO_OBJECT (GST_CAT_CONTEXT, element,
|
||||
"posting `need-context' message");
|
||||
msg = gst_message_new_need_context (GST_OBJECT_CAST (element), context_type);
|
||||
if (!gst_element_post_message (element, msg)) {
|
||||
if (!gst_element_post_message (element, msg))
|
||||
GST_CAT_INFO_OBJECT (GST_CAT_CONTEXT, element, "No bus attached");
|
||||
gst_message_unref (msg);
|
||||
}
|
||||
|
||||
/*
|
||||
* Whomever responds to the need-context message performs a
|
||||
|
|
Loading…
Reference in a new issue