Netflex 0.1.4: no flicker during playback, play/pause always pauses
All checks were successful
release / release (push) Successful in 22m58s

- Fennec SDK 0.1.2: the video no longer dims every other frame (it made
  the picture flicker on slow GPUs like the Raspberry Pi 4).
- The remote's play/pause (it arrives as space, sf-compositor) plays or
  pauses even when the controls are up; before, it pressed the focused
  button, e.g. "10 mp" seeked back.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Tamas Csikel
2026-11-01 20:06:31 +01:00
parent 7ab4ae0c4b
commit aa4a4fb5ef
6 changed files with 11 additions and 10 deletions

View File

@@ -1191,7 +1191,8 @@ pub fn key(c: &Controller, a: Action, repeat: bool) {
p.osd_until = now + OSD;
let row = buttons(p);
match a {
Action::Ok | Action::PlayPause if p.area == 1 && visible => match p.button {
// OK presses the focused button; play/pause always plays or pauses.
Action::Ok if p.area == 1 && visible => match p.button {
0 => {
toggle(p, now);
Then::Nothing