mirror of https://github.com/mpv-player/mpv
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:
parent
cc0437f18c
commit
fce2e3fd08
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue