diff options
| author | Luke Hoersten <[email protected]> | 2026-06-30 20:50:34 -0500 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2026-06-30 20:50:34 -0500 |
| commit | c5f1631b93456e3a084e6b72e55fc442d1e2817c (patch) | |
| tree | 1cbcdaf6ab0fde91897fb30989449a5cec440dee /main/net_eth.c | |
| parent | 16dd6ca15b037d20fba8db873da064f58e0d0574 (diff) | |
firmware: clear panel to Loading screen on new stream connection
The panel used to hold its last framebuffer during the connect→first-frame gap,
flashing a stale old frame before video appeared — more visible now that the
Scrypted side no longer sends a bridging snapshot. The wake path already paints
the Loading screen, but state_machine_set(AWAKE) is a no-op when the device is
already awake (e.g. a stream restart), so the clear didn't happen there.
Tie the clear to the stream connection instead: recv-task paints
local_screens_show_loading() once per new conn_id, guarded by the decoder lock
so the RGB565 present can't race a trailing decode-task paint, and gated on
AWAKE so it never draws on a sleeping panel.
Diffstat (limited to 'main/net_eth.c')
0 files changed, 0 insertions, 0 deletions
