[gst-devel] Using g_singal_emit() in GStreamer
José Alburquerque
jaalburquerque at cox.net
Thu Dec 17 20:40:57 CET 2009
On Tue, 2009-12-15 at 17:54 +0100, Sebastian Dröge wrote:
> Yes, signals with G_SIGNAL_ACTION are meant to be emitted from outside
> the element and are handled inside the element. Signals without that
> flag should be connected to by the outside and are emitted from inside
> the element. That's the same as for the few action signals in GTK :)
>
> For gstreamermm you probably want to provide convenience methods for
> these action signals. The C# bindings have this
Thanks for your reply, it's really appreciated. 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.
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? Thanks for any answers.
--
José
More information about the gstreamer-devel
mailing list