[Mplayer-cvslog] CVS: main mplayer.c,1.453,1.454

Arpi of Ize arpi at mplayer.dev.hu
Sun Mar 31 22:47:31 CEST 2002


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv24163

Modified Files:
	mplayer.c 
Log Message:
better message when vo->preinit fails

Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.453
retrieving revision 1.454
diff -u -r1.453 -r1.454
--- mplayer.c	31 Mar 2002 19:20:01 -0000	1.453
+++ mplayer.c	31 Mar 2002 20:47:28 -0000	1.454
@@ -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;




More information about the MPlayer-cvslog mailing list