mirror of
https://github.com/mpv-player/mpv
synced 2024-12-17 04:15:13 +00:00
Do not just skip a file when vo init fails, instead try to play it
as audio-only first. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21046 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
9913060a98
commit
c339cf1fe5
@ -4298,7 +4298,6 @@ if (global_sub_size) {
|
|||||||
if(!sh_video) goto main; // audio-only
|
if(!sh_video) goto main; // audio-only
|
||||||
|
|
||||||
if(!reinit_video_chain()) {
|
if(!reinit_video_chain()) {
|
||||||
if(!video_out) goto goto_next_file;
|
|
||||||
if(!sh_video || !sh_video->inited){
|
if(!sh_video || !sh_video->inited){
|
||||||
if(!sh_audio) goto goto_next_file;
|
if(!sh_audio) goto goto_next_file;
|
||||||
goto main; // exit_player(MSGTR_Exit_error);
|
goto main; // exit_player(MSGTR_Exit_error);
|
||||||
|
Loading…
Reference in New Issue
Block a user