Mercurial > mplayer.hg
comparison mplayer.c @ 21030:1c6d131163b6
Do not just skip a file when vo init fails, instead try to play it
as audio-only first.
author | reimar |
---|---|
date | Sun, 19 Nov 2006 10:52:23 +0000 |
parents | 2ec157c79f2f |
children | e45bb0ee5558 |
comparison
equal
deleted
inserted
replaced
21029:1f2ba24b4e47 | 21030:1c6d131163b6 |
---|---|
4296 mp_msg(MSGT_IDENTIFY,MSGL_INFO,"ID_LENGTH=%.2lf\n", demuxer_get_time_length(demuxer)); | 4296 mp_msg(MSGT_IDENTIFY,MSGL_INFO,"ID_LENGTH=%.2lf\n", demuxer_get_time_length(demuxer)); |
4297 | 4297 |
4298 if(!sh_video) goto main; // audio-only | 4298 if(!sh_video) goto main; // audio-only |
4299 | 4299 |
4300 if(!reinit_video_chain()) { | 4300 if(!reinit_video_chain()) { |
4301 if(!video_out) goto goto_next_file; | |
4302 if(!sh_video || !sh_video->inited){ | 4301 if(!sh_video || !sh_video->inited){ |
4303 if(!sh_audio) goto goto_next_file; | 4302 if(!sh_audio) goto goto_next_file; |
4304 goto main; // exit_player(MSGTR_Exit_error); | 4303 goto main; // exit_player(MSGTR_Exit_error); |
4305 } | 4304 } |
4306 } | 4305 } |