[gst-devel] Using g_singal_emit() in GStreamer
Tim-Philipp Müller
t.i.m at zen.co.uk
Thu Dec 17 20:55:32 CET 2009
On Thu, 2009-12-17 at 14:40 -0500, José Alburquerque wrote:
Hi,
> Some plug-ins have "action signals" with no return. For example,
> fakesrc's "handoff" signal (which looks to be registered with the
> G_SIGNAL_ACTION flag) returns void. Others don't have parameters
> either like queue's "underrun" signal.
Neither of those two is an action signal or registered with
G_SIGNAL_ACTION as far as I can tell.
Which is not to say that there aren't action signals with no return
value, see e.g. multifdsink.
> Sorry if it's a simple question, but what would be the purpose of
> emitting these signals from the outside as opposed to within the
> plug-ins?
As you suspect, emitting those signals from outside those elements
indeed doesn't really make sense.
Cheers
-Tim
More information about the gstreamer-devel
mailing list