gst_clock_id_wait() sleeps for more time than expected

Baby Octopus jagadishkamathk at gmail.com
Mon Jun 20 14:31:36 UTC 2016


Hi,

I'm getting clock handle using the function gst_system_clock_obtain() and
using it for sleeping for desired time using gst_clock_id_wait() by getting
a clock id. This sleep is accurate most of the times, at times it sleeps for
more time than expected. Occasionally the thread wakes up after 4x the
time(Sleeps for 4ms instead of 1ms)!!

My question is the API gst_clock_id_wait() can be trusted for accurate
sleep? I'm using the same clock handle across multiple threads(Document says
its MT safe)



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/gst-clock-id-wait-sleeps-for-more-time-than-expected-tp4678162.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list