GNOME Bugzilla – Bug 383506
Disallow CLOCK_TIME_NONE as periodic clock id interval
Last modified: 2006-12-08 16:12:56 UTC
gst_clock_new_periodic_id happily accepts GST_CLOCK_TIME_NONE as interval, which has the funny effect of entry->time running backwards by 1 ns every time you wait() on the id. Attaching trivial fix.
Created attachment 77923 [details] [review] Reject invalid clock times for interval of periodic ids
Patch by: Ren�� Stadler <mail at renestadler dot de> * gst/gstclock.c: (gst_clock_new_periodic_id): Reject invalid clock times for interval of periodic ids. Fixes ##383506.