mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
Some debug info
Original commit message from CVS: Some debug info
This commit is contained in:
parent
f332559461
commit
992f55fe4c
1 changed files with 8 additions and 2 deletions
|
@ -288,13 +288,19 @@ gst_scheduler_state_transition (GstScheduler *sched, GstElement *element, gint t
|
||||||
sched->current_clock = clock;
|
sched->current_clock = clock;
|
||||||
|
|
||||||
gst_scheduler_set_clock (sched, sched->current_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);
|
gst_clock_set_active (sched->current_clock, TRUE);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case GST_STATE_PLAYING_TO_PAUSED:
|
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);
|
gst_clock_set_active (sched->current_clock, FALSE);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue