Files
qbz/crates/qbz-player/testdata/cbr_no_xing.mp3
T
vicrodh 7a311e504f fix(player): derive the duration of MP3s without a Xing header
rodio's Decoder::new leaves byte_len unset and the source non-seekable, so
symphonia's MP3 demuxer never estimates the duration of a file without a
Xing/Info/VBRI frame. The local play path then fell back to duration 0 and
the playback clock stayed clamped at 0 for the whole track, which the Slint
2.0.2 frontend read as a stuck load and restarted every 45 s (#734).

The decoder is now built with the buffer length, and an unknown (0)
duration no longer clamps the position. Regression fixture: a 2 s CBR MP3
written without an Info tag.

cc
2026-09-02 20:34:58 -06:00

8.1 KiB