mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
debug time properly
Original commit message from CVS: debug time properly
This commit is contained in:
parent
b14bbb96e8
commit
c638dc11c9
2 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue