mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
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:
parent
4818f60cd5
commit
8cdf5a586f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue