basesink: Preroll on out of segment buffers when not dropping them

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5980>
This commit is contained in:
Thibault Saunier 2023-11-21 19:54:32 -03:00 committed by GStreamer Marge Bot
parent aadefa8aca
commit a4156ebeee

View file

@ -2185,7 +2185,11 @@ again:
}
goto do_times;
}
goto out_of_segment;
if (basesink->priv->drop_out_of_segment)
goto out_of_segment;
cstart = start;
cstop = stop;
}
if (G_UNLIKELY (start != cstart || stop != cstop)) {