[gst-devel] does signal has last param user_data in gstreamer?

Tim-Philipp Müller t.i.m at zen.co.uk
Sun Jan 9 00:44:14 CET 2011


On Sat, 2011-01-08 at 22:12 +0100, Farkas Levente wrote:

> but it'd be nice to use consistent docs/help ie. either all gst-inspect
> signal contain it as last param or none (see for example gst-inspect
> input-selector).

For action signals (and vfuncs for such action signals) no user_data
argument should be displayed, since that doesn't make sense. gst-inspect
doesn't show a user_data argument here, but gtk-doc (html docs) does,
which looks like a gtk-doc bug to me.

For normal signals, there should be a user data argument, because what
you're displaying is basically the signature your callback function
should have.

Two different things really, and hence two different conventions.

Cheers
 -Tim






More information about the gstreamer-devel mailing list