[gst-devel] does signal has last param user_data in gstreamer?
Guillaume Emont
gemont at igalia.com
Thu Jan 6 15:29:54 CET 2011
Hi Farkas,
That is indeed a gobject signal thing: when you connect [1] to a signal,
you specify a "user_data" pointer to pass to the callback you're
attaching, whatever the signal.
This is all should be explained in the signal section of the GObject
Reference Manual [2].
Guillaume
[1]
http://library.gnome.org/devel/gobject/2.26/gobject-Signals.html#g-signal-connect
[2] http://library.gnome.org/devel/gobject/2.26/signal.html
On 06/01/2011 14:50, Farkas Levente wrote:
> hi,
> let see an example: both gst-inspect input-selector and
> http://www.gstreamer.net/data/doc/gstreamer/head/gst-plugins-bad-plugins/html/gst-plugins-bad-plugins-input-selector.html
> said that the signal "switch" has a last argument as
> gpointer user_data
> and the signal "block" has no such last argument in the gst-inspect
> output, but has in the above docs.
> but when i look onto the source code in gstinputselector.h none of these
> signal has last param!
>
> since there are many signal (almos all) which has last param user_data
> so my questions in general:
> is the last param user_data exist or not at all? or it's something glib
> specific thing or ...?
> thanks in advance.
> regards.
>
More information about the gstreamer-devel
mailing list