GNOME Bugzilla – Bug 708605
testclock: Does not handle unscheduled entries correctly
Last modified: 2013-09-23 10:16:55 UTC
A clock should return GST_CLOCK_UNSCHEDULED when an unscheduled entry is used for _wait() or _wait_async(). The testclock does not do this and this causes occasional timeouts in some unit tests.
Created attachment 255553 [details] [review] patch to fix the issue Attached patch fixes the issue and adds a unit test.
commit cba26c9ed901e9cce4812519db5f04ac0d198f5d Author: Wim Taymans <wim.taymans@collabora.co.uk> Date: Mon Sep 23 11:47:14 2013 +0200 tests: handle unscheduled entries correctly Make the testclock return GST_CLOCK_UNSCHEDULED when an unscheduled entry is used for gst_clock_wait() or gst_clock_wait_async(). Fixes https://bugzilla.gnome.org/show_bug.cgi?id=708605