clock debug addition
authorThomas Vander Stichele <thomas@apestaart.org>
Sat, 17 May 2003 23:08:40 +0000 (23:08 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Sat, 17 May 2003 23:08:40 +0000 (23:08 +0000)
Original commit message from CVS:
clock debug addition

gst/gstelement.c

index d621f45..a092e20 100644 (file)
@@ -757,10 +757,13 @@ gst_element_clock_wait (GstElement *element, GstClockID id, GstClockTimeDiff *ji
   g_return_val_if_fail (GST_IS_ELEMENT (element), GST_CLOCK_ERROR);
 
   if (GST_ELEMENT_SCHED (element)) {
+    GST_DEBUG (GST_CAT_CLOCK, "waiting on scheduler clock");
     res = gst_scheduler_clock_wait (GST_ELEMENT_SCHED (element), element, id, jitter);
   }
-  else 
+  else {
+    GST_DEBUG (GST_CAT_CLOCK, "no scheduler, returning GST_CLOCK_TIMEOUT");
     res = GST_CLOCK_TIMEOUT;
+  }
 
   return res;
 }