[Bug 761586] systemclock: regression causing audiomixer to stall
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Feb 10 11:22:01 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=761586
--- Comment #8 from Stian Selnes (stianse) <stian.selnes at gmail.com> ---
Created attachment 320783
--> https://bugzilla.gnome.org/attachment.cgi?id=320783&action=edit
The previously proposed patch improves the situation, but is not complete.
This patch fixes a possible race on top of that patch and adds a couple of
tests
that triggers the issues fixed by both the previous and this patch. They should
probably be squashed before applied?
---
systemclock: Fix wait/unschedule race
Fixes a race where an entry is set to BUSY in
gst_system_clock_id_wait_jitter() and is UNSCHEDULED before
gst_system_clock_id_wait_jitter_unlocked() starts processing it. The
wakeup added by gst_system_clock_id_unschedule() must be cleaned up.
Two stress tests are added. One test that triggers the specific issue
described above. The second stresses the code path where a wait is
rescheduled because the poll returned early.
--
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