Mercurial > mplayer.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
6184:47297acadbfb | 6185:7e769ea2acc7 |
---|---|
1441 if(verbose) mp_msg(MSGT_CPLAYER,MSGL_V,"Freeing %d unused video chunks\n",d_video->packs); | 1441 if(verbose) mp_msg(MSGT_CPLAYER,MSGL_V,"Freeing %d unused video chunks\n",d_video->packs); |
1442 ds_free_packs(d_video); | 1442 ds_free_packs(d_video); |
1443 d_video->id=-2; | 1443 d_video->id=-2; |
1444 uninit_player(INITED_VO); | 1444 uninit_player(INITED_VO); |
1445 } | 1445 } |
1446 | |
1447 if (!sh_video && !sh_audio) | |
1448 goto goto_next_file; | |
1446 | 1449 |
1447 if(demuxer->file_format!=DEMUXER_TYPE_AVI) pts_from_bps=0; // it must be 0 for mpeg/asf! | 1450 if(demuxer->file_format!=DEMUXER_TYPE_AVI) pts_from_bps=0; // it must be 0 for mpeg/asf! |
1448 if(force_fps){ | 1451 if(force_fps){ |
1449 vo_fps = sh_video->fps=force_fps; | 1452 vo_fps = sh_video->fps=force_fps; |
1450 sh_video->frametime=1.0f/sh_video->fps; | 1453 sh_video->frametime=1.0f/sh_video->fps; |