[vlc-commits] [Git][videolan/vlc][master] vout/iOS: change run loop mode to kCFRunLoopCommonMode
Jean-Baptiste Kempf (@jbk)
gitlab at videolan.org
Mon Dec 1 17:46:20 UTC 2025
Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC
Commits:
a0b766ec by Jakov Andrić at 2025-12-01T17:56:03+01:00
vout/iOS: change run loop mode to kCFRunLoopCommonMode
This updates the video rendering loop in VLCOpenGLES2VideoView to use
kCFRunLoopCommonMode instead of kCFRunLoopDefaultMode.
Using CADisplayLink with the default run loop mode causes frame updates
to pause during common UI interactions, such as pulling down the
control center. This results in frozen video even though audio
continues normally.
Using kCFRunLoopCommonMode ensures frame updates even when the player
is not in focus. This matches the behavior used by Apple in AVPlayer.
- - - - -
1 changed file:
- modules/video_output/apple/VLCOpenGLES2VideoView.m
Changes:
=====================================
modules/video_output/apple/VLCOpenGLES2VideoView.m
=====================================
@@ -88,7 +88,7 @@ static void vlc_dispatch_sync(void (^block_function)())
vlc_sem_init(&performed, 0);
CFStringRef modes_cfstrings[] = {
- kCFRunLoopDefaultMode,
+ kCFRunLoopCommonModes,
CFSTR("org.videolan.vlccore.window"),
};
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/a0b766ecbfd057e907a2621d6f5ebdd697aeec8d
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/a0b766ecbfd057e907a2621d6f5ebdd697aeec8d
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list