From 0bf06aa33b1ac3d6468d4986602b6c2d068a9431 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Fri, 11 Jun 2004 16:53:26 +0000 Subject: [PATCH] better debug Original commit message from CVS: better debug --- ext/alsa/gstalsaclock.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/ext/alsa/gstalsaclock.c b/ext/alsa/gstalsaclock.c index 0651b3c890..6f50f84e78 100644 --- a/ext/alsa/gstalsaclock.c +++ b/ext/alsa/gstalsaclock.c @@ -178,17 +178,19 @@ gst_alsa_clock_wait (GstClock * clock, GstClockEntry * entry) if (diff > clock->max_diff) { GST_INFO_OBJECT (this, - "GstAlsaClock: abnormal clock request diff: %" G_GINT64_FORMAT ") >" - " %" G_GINT64_FORMAT, diff, clock->max_diff); + "GstAlsaClock: abnormal clock request diff: %" GST_TIME_FORMAT ") >" + " %" GST_TIME_FORMAT, GST_TIME_ARGS (diff), + GST_TIME_ARGS (clock->max_diff)); return GST_CLOCK_ENTRY_EARLY; } target = entry_time + diff; - GST_DEBUG_OBJECT (this, "real_target %" G_GUINT64_FORMAT - " target %" G_GUINT64_FORMAT - " now %" G_GUINT64_FORMAT, - target, GST_CLOCK_ENTRY_TIME (entry), entry_time); + GST_DEBUG_OBJECT (this, "real_target %" GST_TIME_FORMAT + " target %" GST_TIME_FORMAT + " now %" GST_TIME_FORMAT, + GST_TIME_ARGS (target), GST_TIME_ARGS (GST_CLOCK_ENTRY_TIME (entry)), + GST_TIME_ARGS (entry_time)); while (gst_alsa_clock_get_internal_time (clock) < target && this->last_unlock < entry_time) {