catching vo/vf init failure

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5928 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2002-05-01 22:37:59 +00:00
parent 98d20dc73b
commit 2b96b208bf
1 changed files with 5 additions and 0 deletions

View File

@ -1532,6 +1532,11 @@ if(!sh_video) {
mp_dbg(MSGT_AVSYNC,MSGL_DBG2,"*** ftime=%5.3f ***\n",frame_time);
if(sh_video->vf_inited<0){
mp_msg(MSGT_CPLAYER,MSGL_FATAL,"\nFATAL: Couldn't initialize video filters (-vop) or video output (-vo) !\n");
eof=1; goto goto_next_file;
}
// ==========================================================================
// current_module="draw_osd";