mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +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,
|
GST_CAT_INFO_OBJECT (GST_CAT_CONTEXT, element,
|
||||||
"posting `need-context' message");
|
"posting `need-context' message");
|
||||||
msg = gst_message_new_need_context (GST_OBJECT_CAST (element), context_type);
|
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_CAT_INFO_OBJECT (GST_CAT_CONTEXT, element, "No bus attached");
|
||||||
gst_message_unref (msg);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Whomever responds to the need-context message performs a
|
* Whomever responds to the need-context message performs a
|
||||||
|
|
Loading…
Reference in a new issue