Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
player/misc: fix audio-only fallback when video init fails
--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 after a080432: 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: a080432
- Loading branch information