# HG changeset patch # User arpi # Date 1020292679 0 # Node ID cffef9cc01bba33878e885d03ae234b02c2d272f # Parent 4a198a1bfa53345ca4421bd53b117db2602d4401 catching vo/vf init failure diff -r 4a198a1bfa53 -r cffef9cc01bb mplayer.c --- a/mplayer.c Wed May 01 20:25:04 2002 +0000 +++ b/mplayer.c Wed May 01 22:37:59 2002 +0000 @@ -1532,6 +1532,11 @@ 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";