Peek the message on the top of the bus' queue. The message will remain on the bus' message queue. A reference is returned, and needs to be unreffed by the caller.

class Bus

Return Value

Type: Message

the gstreamer.Message that is on the bus, or NULL if the bus is empty.

MT safe.