From: <tp...@ke...> - 2007-06-07 17:19:03
|
CVS Root: /cvs/gstreamer Module: gst-phonon Changes by: tpm Date: Thu Jun 07 2007 17:18:55 UTC Log message: * gst-phonon/gpho-mediaproducer.c: (handle_bus_message), (timeval_diff_ms), (message_thread), (gpho_media_producer_set_tick_interval): Fix up the message_thread and tick handling a little bit: fix the initial timeout; don't leak messages popped off the bus; if a tick interval is set and we return from the timeout but then not actually emit a tick, take the time we spent waiting for the message into account when calculating the next pop timeout (should give us better tick granularity); also, update the tick interval in the message thread if it gets changed or disabled/re-enabled from the application thread. Modified files: gst-phonon : gpho-mediaproducer.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-phonon/gst-phonon/gpho-mediaproducer.c.diff?r1=1.36&r2=1.37 |