videoconvert: gst_element_post_message() is transfer full on msg

For this reson we need not to unref the message, even if it failed.
This commit is contained in:
Nicolas Dufresne 2017-12-06 16:11:46 -05:00
parent f9a57ccece
commit b0d41c5db8

View file

@ -243,7 +243,6 @@ _gst_vaapi_sink_find_context (GstElement * element)
if (!gst_element_post_message (element, msg)) {
_init_context_debug ();
GST_CAT_INFO_OBJECT (GST_CAT_CONTEXT, element, "No bus attached");
gst_message_unref (msg);
}
return FALSE;