gst_element_post_message: bus is NULL

Stefan Sauer ensonic at
Sun May 20 12:55:12 PDT 2012

On 11/28/2011 11:10 AM, mick_coracin wrote:
> Hi,
> I'm using a Playbin2 based pipeline with a custom Bin for source.
> I would like to send a GST_MESSAGE_ELEMENT message from this bin to the
> application so that this bin can be reconfigured based on some user defined
> options.
> I'm trying to use gst_element_post_message() function from my Bin, but I get
> a "No Bus" error. The bus of the element is NULL.
Are you sure your bin is actually in use (aka plugged into the
pipeline)? It would be good to post a minimal standalone example that
shows the problem.


> I understood that the bus should be inherited from the parent bin or
> pipeline, but it seems not to be the case here.
> Do you have any idea why the bus is not set in this case? Where should it be
> initialized, and can I force it to be set?
> Thanks and regards,
> Michael
> --
> View this message in context:
> Sent from the GStreamer-devel mailing list archive at
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at

More information about the gstreamer-devel mailing list