clock: remove assertion
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 25 May 2009 14:54:25 +0000 (16:54 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 25 May 2009 14:54:25 +0000 (16:54 +0200)
Remove an assertion, this is not really an error in all cases.
Fixes #582010

gst/gstclock.c

index 9baecae..f09eb34 100644 (file)
@@ -935,7 +935,6 @@ gst_clock_set_calibration (GstClock * clock, GstClockTime internal, GstClockTime
   g_return_if_fail (GST_IS_CLOCK (clock));
   g_return_if_fail (rate_num != GST_CLOCK_TIME_NONE);
   g_return_if_fail (rate_denom > 0 && rate_denom != GST_CLOCK_TIME_NONE);
-  g_return_if_fail (internal <= gst_clock_get_internal_time (clock));
 
   write_seqlock (clock);
   GST_CAT_DEBUG_OBJECT (GST_CAT_CLOCK, clock,