mirror of
https://github.com/mpv-player/mpv.git
synced 2026-05-07 20:02:49 +00:00
32817198bb
--stop-playback-on-init-failure=no is documented to continue playback in audio-only mode if video init fails. However, this does not function properly aftera080432992: because video is initialized first, if video init fails, ao_chain is still null. As a result, !(mpctx->vo_chain || mpctx->ao_chain) is true, a playback error is raised, so the playback ends and audio does not play. Fix this by reverting that change, so it checks the tracks instead. Fixes:a080432992