[Bug 790999] only vaapisink should query for app context

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Dec 6 20:08:07 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=790999

--- Comment #14 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
Comment on attachment 364791
  --> https://bugzilla.gnome.org/attachment.cgi?id=364791
vaapivideocontext: possible memleak when no bus attached

>+  if (!gst_element_post_message (element, msg)) {
>     GST_CAT_INFO_OBJECT (GST_CAT_CONTEXT, element, "No bus attached");
>+    gst_message_unref (msg);
>+  }

This doesn't look right to me.

gst_element_post_message() takes ownership of the message. It should take
ownership in all cases.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list