BusSyncHandler
Description:
[ CCode ( instance_pos = 2.9 ) ]
public delegate BusSyncReply BusSyncHandler (Bus bus, Message message)
public delegate BusSyncReply BusSyncHandler (Bus bus, Message message)
Handler will be invoked synchronously, when a new message has been injected into the bus.
This function is mostly used internally. Only one sync handler can be attached to a given bus.
If the handler returns DROP, it should unref the message, else the message should not be unreffed by the sync handler.
Parameters:
bus |
the Bus that sent the message |
message |
the Message |
user_data |
user data that has been given, when registering the handler |
Returns:
BusSyncReply stating what to do with the message |
Namespace: Gst
Package: gstreamer-1.0