debug time properly
authorThomas Vander Stichele <thomas@apestaart.org>
Wed, 21 Apr 2004 12:44:39 +0000 (12:44 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Wed, 21 Apr 2004 12:44:39 +0000 (12:44 +0000)
Original commit message from CVS:
debug time properly

sys/ximage/ximagesink.c
sys/xvimage/xvimagesink.c

index 68f6126..96b0de6 100644 (file)
@@ -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);
index aa05888..53e8b2f 100644 (file)
@@ -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);