create_watch


Description:

public Source? create_watch ()

Create watch for this bus.

The SignalSource will be dispatched whenever a message is on the bus. After the GSource is dispatched, the message is popped off the bus and unreffed.

As with other watches, there can only be one watch on the bus, including any signal watch added with gst_bus_add_signal_watch.

Parameters:

this

a Bus to create the watch for

Returns:

a SignalSource that can be added to a MainLoop.