[vlc-commits] [Git][videolan/vlc][master] demux: mkv: look inside the found seekpoint regardless of fastseeking

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Fri Oct 23 21:44:25 UTC 2026



Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
8414628d by Steve Lhomme at 2026-10-23T23:32:22+02:00
demux: mkv: look inside the found seekpoint regardless of fastseeking

For streams without fast seeking, the prefetch module hides (most) of the
seeking/reading.

Reverts commit 05e105ce4f0f64a8535c55be9e046c89c8d347ff.

Fixes #30020

- - - - -


1 changed file:

- modules/demux/mkv/matroska_segment_seeker.cpp


Changes:

=====================================
modules/demux/mkv/matroska_segment_seeker.cpp
=====================================
@@ -318,8 +318,7 @@ SegmentSeeker::get_seekpoints( matroska_segment_c& ms, vlc_tick_t target_pts,
         if ( start.fpos == std::numeric_limits<fptr_t>::max() )
             return tracks_seekpoint_t();
 
-        if ( ms.sys.b_fastseekable &&
-             (end.fpos != std::numeric_limits<fptr_t>::max() || !ms.b_cues) &&
+        if ( (end.fpos != std::numeric_limits<fptr_t>::max() || !ms.b_cues) &&
              (needle_pts != start.pts || start.trust_level < Seekpoint::TRUSTED))
             // do not read the whole (infinite?) file to get seek indexes
             // do not generate an index if we already have the correct seekpoint



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/8414628dd4ddcafd5c6c60801a573a9b6c3d0e26

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/8414628dd4ddcafd5c6c60801a573a9b6c3d0e26
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help




More information about the vlc-commits mailing list