tests: handle unscheduled entries correctly
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 23 Sep 2013 09:47:14 +0000 (11:47 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 23 Sep 2013 09:47:14 +0000 (11:47 +0200)
commitcba26c9ed901e9cce4812519db5f04ac0d198f5d
tree7fcbf9dc3eecf82148754247a7a806de5bab92d9
parent3e4b4eb59bb691c9e1c00a7a5268e68d4444bc7d
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
libs/gst/check/gsttestclock.c
tests/check/libs/gsttestclock.c