Bus.timedPop

Get a message from the bus, waiting up to the specified timeout.

If @timeout is 0, this function behaves like gst_bus_pop(). If @timeout is #GST_CLOCK_TIME_NONE, this function will block forever until a message was posted on the bus.

class Bus
timedPop

Parameters

timeout GstClockTime

a timeout

Return Value

Type: Message

the #GstMessage that is on the bus after the specified timeout or %NULL if the bus is empty after the timeout expired. The message is taken from the bus and needs to be unreffed with gst_message_unref() after usage.

MT safe.

Meta