jump to next file (or exit) if can't decode audio && video

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6186 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2002-05-25 11:40:29 +00:00
parent aefac09349
commit c57ff0435c
1 changed files with 3 additions and 0 deletions

View File

@ -1444,6 +1444,9 @@ if(!sh_video){
uninit_player(INITED_VO);
}
if (!sh_video && !sh_audio)
goto goto_next_file;
if(demuxer->file_format!=DEMUXER_TYPE_AVI) pts_from_bps=0; // it must be 0 for mpeg/asf!
if(force_fps){
vo_fps = sh_video->fps=force_fps;