Felix Paul Kühne pushed to branch master at VideoLAN / VLC
Commits:
655b174e by Serhii Bykov at 2026-02-24T19:53:42+01:00
macosx: fix progress bar advancing after pause due to orphaned timer
- - - - -
1 changed file:
- modules/gui/macosx/playqueue/VLCPlayerController.m
Changes:
=====================================
modules/gui/macosx/playqueue/VLCPlayerController.m
=====================================
@@ -475,6 +475,7 @@ static void cb_player_timer_updated(const struct
vlc_player_timer_point * const
if (interval < POSITION_MIN_UPDATE_INTERVAL)
interval = POSITION_MIN_UPDATE_INTERVAL;
+ [playerController.positionTimer invalidate];
playerController.positionTimer =
[NSTimer
scheduledTimerWithTimeInterval:SEC_FROM_VLC_TICK(interval)
target:playerController
@@ -1129,6 +1130,7 @@ static int BossCallback(vlc_object_t *p_this,
// seconds.
static const double imprecisionDelaySec = 0.03;
+ [self.timeTimer invalidate];
self.timeTimer = [NSTimer
timerWithTimeInterval:SEC_FROM_VLC_TICK(nextUpdateInterval) +
imprecisionDelaySec
target:self
selector:@selector(updateTimeWithTimer:)
View it on GitLab:
https://code.videolan.org/videolan/vlc/-/commit/655b174e850446e90b0976a6fcc662bba13cc9e3
--
View it on GitLab:
https://code.videolan.org/videolan/vlc/-/commit/655b174e850446e90b0976a6fcc662bba13cc9e3
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits