Repository navigation
Conversation
On Windows the slide area briefly showed the desktop, black or white when a video slide opened or closed, and the progress bar was updated from VLC threads. Refs Cimbali#363.
Show the movie zone only once VLC has produced its first frame, instead of after a fixed delay. Refs Cimbali#363.
youms
force-pushed
the
fix/vlc-no-flash
branch
from
October 28, 2026 13:17
ce43481 to
ed437c0
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #363.
With the VLC backend on Windows, changing into or out of a video slide shows the desktop, black or white in the slide area for 100 to 250 ms. VLC's video window is empty until it presents its first frame, and GTK does not repaint the slide under a mapped native child window when the movie zone is removed.
This changes
media_overlays/vlc_backend.pyonly.MediaPlayerTimeChanged). It is then shown 30 ms later from the main thread, with a 1.5 s fallback. In between, the slide stays visible, and its first frame matches the video.GLib.idle_add, because GTK is not thread-safe.HIDE_UNTIL_FIRST_FRAME = IS_WINDOWS), because I could not test other platforms.Tested on Windows 11, MSYS2 UCRT64, Python 3.14.9, GTK 3.24.52, VLC 3.0.24, Intel UHD 620. I built this branch and
origin/main(3750003) each as its own package and ran the real app on a 1080p deck with five 60 fps video slides. Each run is 7 slide changes (picture to video, video to video forward and backward, video to picture). I captured the content window and compared every frame with the slide before and the frames of the clip. Flash is the time spent on frames that match neither.origin/main, content window fullscreen: 156 to 272 ms of flash on all 7 changes, black up to 77 ms.origin/main, windowed: 112 to 323 ms of flash on 6 changes. The first change of that run is left out because the display was waking from standby during it.origin/main.One run per configuration. Not tested: Linux and macOS (the new code is off there), other VLC versions.