better message when vo->preinit fails

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5435 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2002-03-31 20:47:28 +00:00
parent cc0437f18c
commit fce2e3fd08
1 changed files with 2 additions and 2 deletions

View File

@ -1192,8 +1192,8 @@ if(!sh_video)
current_module="preinit_libvo"; current_module="preinit_libvo";
if((i=video_out->preinit(vo_subdevice))!=0){ if((video_out->preinit(vo_subdevice))!=0){
mp_msg(MSGT_CPLAYER,MSGL_FATAL,"error on vo preinit = %u\n",i); mp_msg(MSGT_CPLAYER,MSGL_FATAL,"Error opening/initializing the selected video_out (-vo) device!\n");
goto goto_next_file; // exit_player(MSGTR_Exit_error); goto goto_next_file; // exit_player(MSGTR_Exit_error);
} }
sh_video->video_out=video_out; sh_video->video_out=video_out;