Mercurial > mplayer.hg
changeset 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 | 47297acadbfb |
children | c16a5fe3008f |
files | mplayer.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
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;