From c638dc11c938f5a61cb4acd1d89bae653c0392ed Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Wed, 21 Apr 2004 12:44:39 +0000 Subject: [PATCH] debug time properly Original commit message from CVS: debug time properly --- sys/ximage/ximagesink.c | 2 +- sys/xvimage/xvimagesink.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/ximage/ximagesink.c b/sys/ximage/ximagesink.c index 68f61264c5..96b0de69d8 100644 --- a/sys/ximage/ximagesink.c +++ b/sys/ximage/ximagesink.c @@ -882,7 +882,7 @@ gst_ximagesink_chain (GstPad * pad, GstData * data) if (GST_BUFFER_TIMESTAMP_IS_VALID (buf)) { ximagesink->time = GST_BUFFER_TIMESTAMP (buf); } - GST_DEBUG ("videosink: clock wait: %" G_GUINT64_FORMAT, ximagesink->time); + GST_DEBUG ("clock wait: %" GST_TIME_FORMAT, GST_TIME_ARGS (ximagesink->time)); if (GST_VIDEOSINK_CLOCK (ximagesink)) { gst_element_wait (GST_ELEMENT (ximagesink), ximagesink->time); diff --git a/sys/xvimage/xvimagesink.c b/sys/xvimage/xvimagesink.c index aa0588897d..53e8b2ff75 100644 --- a/sys/xvimage/xvimagesink.c +++ b/sys/xvimage/xvimagesink.c @@ -1148,7 +1148,8 @@ gst_xvimagesink_chain (GstPad * pad, GstData * data) if (GST_BUFFER_TIMESTAMP_IS_VALID (buf)) { xvimagesink->time = GST_BUFFER_TIMESTAMP (buf); } - GST_DEBUG ("videosink: clock wait: %" G_GUINT64_FORMAT, xvimagesink->time); + GST_DEBUG ("clock wait: %" GST_TIME_FORMAT, + GST_TIME_ARGS (xvimagesink->time)); if (GST_VIDEOSINK_CLOCK (xvimagesink)) { gst_element_wait (GST_ELEMENT (xvimagesink), xvimagesink->time);