basesink: fix emergency rendering timestamp tracking

Specifically, if all (including initial) buffers turn up late,
emergency rendering should also kick in appropriately.

Fixes #611087.
This commit is contained in:
Mark Nauwelaerts 2010-02-26 15:46:50 +01:00
parent 4818f60cd5
commit 8cdf5a586f

View file

@ -2602,7 +2602,7 @@ gst_base_sink_is_too_late (GstBaseSink * basesink, GstMiniObject * obj,
}
done:
if (!late) {
if (!late || !GST_CLOCK_TIME_IS_VALID (priv->last_in_time)) {
priv->last_in_time = start;
}
return late;