[gst-devel] Please, give an example of an action signal usage.

wl2776 wl2776 at gmail.com
Fri Apr 2 10:42:11 CEST 2010



Stefan Kost wrote:
> 
> from the glib docs (please check those first in the future, you need to
> understand the underlying technologies, we can help with gstreamer
> specific
> things, which this is not).
>  [skip ] 
> 
> You can look e.g. at camerabin example code to see how it is used.
> 

Thank you. I've read this already, and cited in my original message. 
I will be happy to understand the underlying technologies as quickly as
possible, but, unfortunately, my information sources are poor. All action
signals of the camerabin have void return type and don't return any values.

The docs to the g_signal_emit () function say that its "..." parameter is
the list of "parameters to be passed to the signal, followed by a location
for the return value. If the return type of the signal is G_TYPE_NONE, the
return value location can be omitted."

Does it mean that I should call, for example, 
  GstTagList *taglist;
  g_signal_emit_by_name(m_player, "get-audio-tags", &taglist);

?
-- 
View this message in context: http://n4.nabble.com/Please-give-an-example-of-an-action-signal-usage-tp1748195p1748933.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.




More information about the gstreamer-devel mailing list