systemclock: handle unschedule of late entries
authorThiago Santos <thiagoss@osg.samsung.com>
Fri, 5 Feb 2016 18:34:47 +0000 (15:34 -0300)
committerThiago Santos <thiagoss@osg.samsung.com>
Wed, 10 Feb 2016 11:59:33 +0000 (08:59 -0300)
commit77a98d98cbed15e0bfdd8fe982b7ac83b1826d13
treed3a66e6ef477b029b03af8b00a55463b6dd83da0
parent682516402d2e2179238ee8e388ac7a304286c1c8
systemclock: handle unschedule of late entries

If the clockentry is too late and is unscheduled before it gets
a change to detect its lateness the wakeup count and the poll are
used but never properly cleaned up. This leaves it in a dirty state
that is going to mess with the next clock entry waiting requests.

https://bugzilla.gnome.org/show_bug.cgi?id=761586
gst/gstsystemclock.c