changeset 5434:dc5b373cc604

better message when vo->preinit fails
author arpi
date Sun, 31 Mar 2002 20:47:28 +0000
parents d596cf3c54aa
children 508a4e7df349
files mplayer.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Sun Mar 31 20:45:31 2002 +0000
+++ b/mplayer.c	Sun Mar 31 20:47:28 2002 +0000
@@ -1192,8 +1192,8 @@
 
 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;