5 Commits

Author SHA1 Message Date
Tamas Csikel
54905d5f10 sf-ui 0.1.4: video sound always decoded (no AC3 passthrough)
All checks were successful
ci / test (push) Successful in 21m47s
When the HDMI sink also offers AC3/E-AC3 passthrough (WirePlumber's
iec958 codecs), pulsesink took the encoded track as it was: a 44.1 kHz
AC3 track failed at once ("Failed to connect stream: No such entity")
and a 48 kHz one went out as a bitstream that stuttered on a Raspberry
Pi 4. The player's audio sink is now audioconvert ! audioresample !
audio/x-raw ! pulsesink, so it always gets PCM.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 20:27:46 +01:00
Tamas Csikel
629f647728 sf-ui 0.1.3: no app crash in FFmpeg decoders after a seek
All checks were successful
ci / test (push) Successful in 21m9s
With direct rendering on, gst-libav aborts the whole process
(g_error "video meta uses 864x480 instead of 854x480") when a padded
frame meets a renegotiation, for example after a seek or resume. Netflex
TV died this way on a Raspberry Pi 4 playing a 854x480 episode. The
player now turns direct rendering off on every avdec_* element it sets up.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 17:02:48 +01:00
Tamas Csikel
cb37d872ed sf-ui 0.1.2: fix the video flicker
All checks were successful
ci / test (push) Successful in 20m59s
Glass's video fade stepped down whenever it was already at its target, so
a fully shown video dipped every other frame. At 60 fps that was a 5 %
dip; on a slow GPU (Raspberry Pi 4, ~10 fps during playback) the video
went down to ~60 % every other frame and the backdrop flickered through.
The fade now clamps to its target, like the picture fades do.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 20:04:40 +01:00
Tamas Csikel
25fecb8dae sf-ui 0.1.1: GPU measurement at startup and a Material style for weak GPUs
All checks were successful
ci / test (push) Successful in 20m31s
- GlassRenderer::choose_quality measures a typical TV frame offscreen at
  window size and picks Full, Light or the new Quality::Material; cached
  per GPU and size in ~/.cache/fennec-glass, SMARTFOX_GLASS overrides it.
  Glass picks it by default (set_auto_quality); set_quality fixes it.
- Material: matte panes with a small shadow and a focus ring on a plain
  palette-coloured backdrop, in its own cheap shader, with no backdrop
  texture or full-screen pass. A still Material layer draws no frames
  while nothing changes.
- Glass panes: a fast path for single panes, light/flat really skip the
  full lighting, and each pane's quad only covers its actual shadow.

On a Raspberry Pi 4 at 1080p: full glass 50 ms, light 39 ms per frame,
so Material is picked; the launcher animates at 55-60 fps (was 17).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 19:14:11 +01:00
Tamas Csikel
bcc7bc64c0 Add Store support and unsigned app releases 2026-10-25 14:11:49 +01:00