Please explain gst_bus_add_watch() method

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Please explain gst_bus_add_watch() method

Shubham Shrivastava


>>>>>>
gst_bus_add_watch (bus, my_bus_callback, NULL);<<<<<<<

why we pass an argument like this-------my_bus_callback-----
in gst_bus_add_watch instead of my_bus_callback(*bus,*message,user_data)
because here my_bus_callback is of type  gboolean  (*GstBusFunc)
gboolean
(*GstBusFunc) (GstBus *bus,
               GstMessage *message,
               gpointer user_data);
So how *bus,*messsage and user_data is going

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel