mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 04:36:20 +00:00
gst/gstsystemclock.c: A clock entry that is scheduled for the exact time of the clock is still in time.
Original commit message from CVS: * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked): A clock entry that is scheduled for the exact time of the clock is still in time. * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object), (gst_base_sink_do_sync): Add some more debug info.
This commit is contained in:
parent
5eb568fb84
commit
213c508b5c
3 changed files with 18 additions and 0 deletions
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
||||||
|
2006-01-24 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
|
* gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
|
||||||
|
A clock entry that is scheduled for the exact time of the
|
||||||
|
clock is still in time.
|
||||||
|
|
||||||
|
* libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
|
||||||
|
(gst_base_sink_do_sync):
|
||||||
|
Add some more debug info.
|
||||||
|
|
||||||
2006-01-23 Sebastien Moutte <sebastien@moutte.net>
|
2006-01-23 Sebastien Moutte <sebastien@moutte.net>
|
||||||
|
|
||||||
* win32/vs7:
|
* win32/vs7:
|
||||||
|
|
|
@ -402,6 +402,8 @@ gst_system_clock_id_wait_unlocked (GstClock * clock, GstClockEntry * entry)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else if (diff == 0) {
|
||||||
|
entry->status = GST_CLOCK_OK;
|
||||||
} else {
|
} else {
|
||||||
entry->status = GST_CLOCK_EARLY;
|
entry->status = GST_CLOCK_EARLY;
|
||||||
}
|
}
|
||||||
|
|
|
@ -974,6 +974,12 @@ gst_base_sink_do_sync (GstBaseSink * basesink, GstBuffer * buffer)
|
||||||
(gint64) start, (gint64) end, &cstart, &cend))
|
(gint64) start, (gint64) end, &cstart, &cend))
|
||||||
goto out_of_segment;
|
goto out_of_segment;
|
||||||
|
|
||||||
|
if (start != cstart || end != cend) {
|
||||||
|
GST_DEBUG_OBJECT (basesink, "clipped to: start %" GST_TIME_FORMAT
|
||||||
|
", end: %" GST_TIME_FORMAT, GST_TIME_ARGS (cstart),
|
||||||
|
GST_TIME_ARGS (cend));
|
||||||
|
}
|
||||||
|
|
||||||
/* save last valid times seen. */
|
/* save last valid times seen. */
|
||||||
if (GST_CLOCK_TIME_IS_VALID (end))
|
if (GST_CLOCK_TIME_IS_VALID (end))
|
||||||
gst_segment_set_last_stop (&basesink->segment, GST_FORMAT_TIME,
|
gst_segment_set_last_stop (&basesink->segment, GST_FORMAT_TIME,
|
||||||
|
|
Loading…
Reference in a new issue