Open the scrcpy window earlier by rom1v · Pull Request #6694 · Genymobile/scrcpy (original) (raw)

@rom1v mentioned this pull request

Feb 25, 2026

anotheruserofgithub

@rom1v

@rom1v

Use a flag to indicate whether the window is currently shown.

This replaces the old has_video_window flag, which was true only when the window was shown and video was enabled.

This will simplify performing actions only when the window is currently shown.

PR #6694 <#6694>

@rom1v

Previously, the window was opened only once the first frame was available. Instead, open it as soon as the frame dimensions are known.

This is especially useful when the encoder does not produce an initial frame while the phone is turned off (e.g., with --no-power-on).

Fixes #6546 <#6546> PR #6694 <#6694>

@rom1v

Draw a dark 10x10 square in the top-right corner to distinguish a black frame from the absence of a frame (useful for debugging).

PR #6694 <#6694>

@rom1v rom1v mentioned this pull request

Mar 26, 2026

@rom1v rom1v mentioned this pull request

Apr 29, 2026

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

[ Show hidden characters]({{ revealButtonHref }})