From 439b5101bae1dfbe29d31b5e8147c58df79186be Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Sat, 17 May 2003 23:08:40 +0000 Subject: [PATCH] clock debug addition Original commit message from CVS: clock debug addition --- gst/gstelement.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gst/gstelement.c b/gst/gstelement.c index d621f45..a092e20 100644 --- a/gst/gstelement.c +++ b/gst/gstelement.c @@ -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; } -- 2.7.4