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

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

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)) {