debug time properly

Original commit message from CVS:
debug time properly
This commit is contained in:
Thomas Vander Stichele 2004-04-21 12:44:39 +00:00
parent b14bbb96e8
commit c638dc11c9
2 changed files with 3 additions and 2 deletions

View file

@ -882,7 +882,7 @@ gst_ximagesink_chain (GstPad * pad, GstData * data)
if (GST_BUFFER_TIMESTAMP_IS_VALID (buf)) { if (GST_BUFFER_TIMESTAMP_IS_VALID (buf)) {
ximagesink->time = GST_BUFFER_TIMESTAMP (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)) { if (GST_VIDEOSINK_CLOCK (ximagesink)) {
gst_element_wait (GST_ELEMENT (ximagesink), ximagesink->time); gst_element_wait (GST_ELEMENT (ximagesink), ximagesink->time);

View file

@ -1148,7 +1148,8 @@ gst_xvimagesink_chain (GstPad * pad, GstData * data)
if (GST_BUFFER_TIMESTAMP_IS_VALID (buf)) { if (GST_BUFFER_TIMESTAMP_IS_VALID (buf)) {
xvimagesink->time = GST_BUFFER_TIMESTAMP (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)) { if (GST_VIDEOSINK_CLOCK (xvimagesink)) {
gst_element_wait (GST_ELEMENT (xvimagesink), xvimagesink->time); gst_element_wait (GST_ELEMENT (xvimagesink), xvimagesink->time);