mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-09-03 10:43:55 +00:00
basesink: renderdelay needs to be subtracted in adjust_time()
latency is already sink-latency + render-delay, and here we only want to deal with the sink-latency. Fixes #630436
This commit is contained in:
parent
8834567cd4
commit
54a5871434
1 changed files with 1 additions and 1 deletions
|
@ -2015,7 +2015,7 @@ gst_base_sink_adjust_time (GstBaseSink * basesink, GstClockTime time)
|
|||
if (G_UNLIKELY (!GST_CLOCK_TIME_IS_VALID (time)))
|
||||
return time;
|
||||
|
||||
time += basesink->priv->latency;
|
||||
time += basesink->priv->latency - basesink->priv->render_delay;
|
||||
|
||||
/* apply offset, be carefull for underflows */
|
||||
ts_offset = basesink->priv->ts_offset;
|
||||
|
|
Loading…
Reference in a new issue