[gst-devel] state-changed callback

Andy Wingo wingo at pobox.com
Tue Aug 28 22:38:45 CEST 2007


On Mon 27 Aug 2007 22:01, "Albano Gheller" <albano.gheller at gmail.com> writes:

> How can I connect a "state-changed" signal without use the
> gtk_bus_add_watch()?

It is gst_bus_... :)
      ^^^

If you do not want to use the GLib mainloop, you are in for pain. That
said, connect to the "sync-message::state-changed" signal. See the
gst_bus_enable_sync_message_emission() docs for more details.

Regards,

Andy.
-- 
http://wingolog.org/




More information about the gstreamer-devel mailing list