Skip to content

Tell new apps to load video only when it's shown - #18673

Merged
dhh merged 1 commit into
quattrofrom
app-skill-lazy-video
Nov 12, 2026
Merged

dhh merged 1 commit into
quattrofrom
app-skill-lazy-video

Conversation

@dhh

@dhh dhh commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

Creating any MediaPlayer, AudioOutput, or VideoOutput starts Qt Multimedia's FFmpeg backend, which probes hardware decoders (Vulkan, CUDA) on the GUI thread, adding about two seconds to every launch on an NVIDIA machine. Several Omarchy apps have hit this; the omarchy-app skill now says to keep them in a Loader that turns on with the first video, as Hype does in omacom/hype#59, and to time the window opening when adding a module.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@greptile-apps

greptile-apps Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] This documentation-only change appears safe to merge.

Summary

Adds guidance for keeping video support from slowing app startup.

  • App builders now get guidance to wait for the first video before loading media.

No actionable issues found.

Reviews (1) · Last reviewed commit: "Tell new apps to load video only when it..." · Reviewed by Greptile

@dhh
dhh merged commit 7969ddc into quattro Nov 12, 2026
1 of 2 checks passed
@dhh
dhh deleted the app-skill-lazy-video branch November 12, 2026 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant