[gst-devel] No notify signal from queue element
Tim Müller
t.i.m at zen.co.uk
Wed Aug 29 21:25:13 CEST 2007
On Wed, 2007-08-29 at 21:30 +0300, Stefan Kost wrote:
> > According to the documentation the queue element
> > supports, notification signal for changes in level
> > of queue data, viz buffers, time and bytes.
> >
> > This does not seem to work for me. Also, observed
> > no invocation of g_object_notify to support this.
>
> Each property causes notify to trigger when someone
> does g_object_set(). All that it needs is a running
> main_loop. Do you have one?
I don't think you need to run a main loop to get notifies from
g_object_set(). Are you sure?
I think the docs are probably wrong in this case (mea culpa); or rather
they were written assuming the queue object uses g_object_notify() as it
should, without double-checking whether it actually does. Please file a
bug at http://gstreamer.freedesktop.org/bugs/ so we don't forget about
it - thanks!
In any case, caring about the exact value is usually not a good idea
anyway - it's probably better to just set the appropriate max/min values
and g_signal_connect() to the overrun/underrun etc. signals instead.
Cheers
-Tim
More information about the gstreamer-devel
mailing list