From 992f55fe4c31590a5f7cc784ff3649b10d0e06e3 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 30 Jul 2002 19:21:13 +0000 Subject: [PATCH] Some debug info Original commit message from CVS: Some debug info --- gst/gstscheduler.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/gst/gstscheduler.c b/gst/gstscheduler.c index 16f926e13c..8b5526e4b1 100644 --- a/gst/gstscheduler.c +++ b/gst/gstscheduler.c @@ -288,13 +288,19 @@ gst_scheduler_state_transition (GstScheduler *sched, GstElement *element, gint t sched->current_clock = clock; gst_scheduler_set_clock (sched, sched->current_clock); - if (sched->current_clock) + if (sched->current_clock) { + GST_DEBUG (GST_CAT_CLOCK, "enabling clock %p (%s)", sched->current_clock, + GST_OBJECT_NAME (sched->current_clock)); gst_clock_set_active (sched->current_clock, TRUE); + } break; } case GST_STATE_PLAYING_TO_PAUSED: - if (sched->current_clock) + if (sched->current_clock) { + GST_DEBUG (GST_CAT_CLOCK, "disabling clock %p (%s)", sched->current_clock, + GST_OBJECT_NAME (sched->current_clock)); gst_clock_set_active (sched->current_clock, FALSE); + } break; } }