[Bug 771699] New: gst_clock_id_wait waits for too long
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Sep 20 09:53:05 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=771699
Bug ID: 771699
Summary: gst_clock_id_wait waits for too long
Classification: Platform
Product: GStreamer
Version: 1.8.3
OS: Mac OS
Status: NEW
Severity: normal
Priority: Normal
Component: gstreamer (core)
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: mezin.alexander at gmail.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
I use gst_clock_new_single_shot_id + gst_clock_id_wait for synchronization
(with system clock). Usually the target time is ~10 milliseconds in the future.
When the application window is in background for some time, gst_clock_id_wait
starts to block for 10 seconds. Printing gst_clock_get_time() shows 10 second
difference too (and it is 10 seconds later than GstClockID's target time). But
jitter value returned by gst_clock_id_wait is very small (microseconds).
Activating the window immediately "fixes" the problem. And the problem doesn't
occur when the window is in foreground.
If I disable timer coalescing (sudo sysctl -w kern.timer.coalescing_enabled=0),
the problem doesn't occur too.
OS: macOS Sierra (probably happens on older versions too)
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list