[gst-devel] subscribing to g_object_notify

Johan Dahlin johan at fluendo.com
Mon Jun 28 03:47:06 CEST 2004


mån 2004-06-28 klockan 12.26 skrev Marc VanDaele:
> Hello,
> 
> In Filesrc, the following notificatin is sent when the location changes.
>   g_object_notify (G_OBJECT (src), "location");
> What kind of statement do I need in my application to intercept this
> notification?

Just do:

g_signal_connect (G_OBJECT (src), "notify::location', cb, NULL);

-- 
Johan Dahlin <johan at fluendo.com>





More information about the gstreamer-devel mailing list