Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #272383

Category ffmpeg
Changed by Kacper Michajłow <kasper93ohnoyoudont@gmail.com>
Changed at Tue 23 Jun 2026 20:40:28
Repository https://git.ffmpeg.org/ffmpeg.git
Project ffmpeg
Branch master
Revision caa3fa6af070c1eeee59da027fdcde326fc64a89

Comments

avformat/hls: fix seeking to before the first timestamp
find_timestamp_in_playlist() already selects the first segment when the
target is below the playlist's first timestamp, but returns 0.
hls_read_seek() treats that as a failure, and all seek operation is
failed.

This breaks seeking to the very start whenever the requested timestamp
is slightly below the first one. Clamp such targets to the first segment
and report success instead.

Fixes: https://github.com/mpv-player/mpv/issues/14840#issuecomment-4703186169
Signed-off-by: Kacper Michajłow <kasper93@gmail.com>

Changed files