Files
mpv-joc/fork/files
TheM14 587ff24e86 Fix native PCM startup stall at the queue gate
The PCM queue cap was applied before the first output sample.  For any
input longer than about two seconds the gate could trigger while
samples_out was still zero, emit() had nothing to return, and process_pcm
returned without marking filter progress.  The decoder thread then stopped
and audio never became ready; short clips and E-AC-3 JOC were unaffected.

Only apply the cap after the first output sample, and mark progress when
the gate cannot emit.  This keeps the EOF flush bounded without blocking
startup.
2026-11-14 02:53:36 +08:00
..