Mercurial > mplayer.hg
diff mplayer.c @ 6185:7e769ea2acc7
jump to next file (or exit) if can't decode audio && video
author | alex |
---|---|
date | Sat, 25 May 2002 11:40:29 +0000 |
parents | a4bbda72ce86 |
children | bd6748605681 |
line wrap: on
line diff
--- a/mplayer.c Sat May 25 11:08:53 2002 +0000 +++ b/mplayer.c Sat May 25 11:40:29 2002 +0000 @@ -1444,6 +1444,9 @@ 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;