Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
439
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
c6d6da2d
Commit
c6d6da2d
authored
1 year ago
by
Thomas Guillem
Committed by
Jean-Baptiste Kempf
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
demux: mkv: fix busyloop when seeking to 0
Fixes
#28081
parent
a9ebdb90
No related branches found
No related tags found
1 merge request
!3636
demux: mkv: fix busyloop when seeking to 0
Pipeline
#340219
passed with stages
in 31 minutes and 29 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/demux/mkv/matroska_segment_seeker.cpp
+5
-0
5 additions, 0 deletions
modules/demux/mkv/matroska_segment_seeker.cpp
with
5 additions
and
0 deletions
modules/demux/mkv/matroska_segment_seeker.cpp
+
5
−
0
View file @
c6d6da2d
...
...
@@ -329,6 +329,11 @@ SegmentSeeker::get_seekpoints( matroska_segment_c& ms, vlc_tick_t target_pts,
if
(
contains_all_of_t
()
(
tpoints
,
priority_tracks
)
)
return
tpoints
;
// Avoid busyloop, don't iterate on the same seekpoint
if
(
needle_pts
==
start
.
pts
-
1
)
// we found the same needle twice, stop looking
return
tpoints
;
needle_pts
=
start
.
pts
-
1
;
}
...
...
This diff is collapsed.
Click to expand it.
Thomas Guillem
@tguillem
mentioned in merge request
!3648 (merged)
·
1 year ago
mentioned in merge request
!3648 (merged)
mentioned in merge request !3648
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment