summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-31 20:47:28 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-31 20:47:28 +0000
commitfce2e3fd08f2caabc1ebf1d0d7ca11dd3a5905b3 (patch)
tree36950a833f3159404736ebcde3385feaa4f1bb60 /mplayer.c
parentcc0437f18cc6bb0bb2561057199453628e1323f9 (diff)
downloadmpv-fce2e3fd08f2caabc1ebf1d0d7ca11dd3a5905b3.tar.bz2
mpv-fce2e3fd08f2caabc1ebf1d0d7ca11dd3a5905b3.tar.xz
better message when vo->preinit fails
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5435 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mplayer.c b/mplayer.c
index 1a55f830d0..e6b1021473 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -1192,8 +1192,8 @@ if(!sh_video)
current_module="preinit_libvo";
-if((i=video_out->preinit(vo_subdevice))!=0){
- mp_msg(MSGT_CPLAYER,MSGL_FATAL,"error on vo preinit = %u\n",i);
+if((video_out->preinit(vo_subdevice))!=0){
+ 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);
}
sh_video->video_out=video_out;