[Mplayer-cvslog] CVS: main mplayer.c,1.374,1.375

Nick Kurshev nick at mplayer.dev.hu
Sat Jan 26 19:27:12 CET 2002


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

Modified Files:
	mplayer.c 
Log Message:
vo's preinit support

Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.374
retrieving revision 1.375
diff -u -r1.374 -r1.375
--- mplayer.c	24 Jan 2002 15:17:12 -0000	1.374
+++ mplayer.c	26 Jan 2002 18:27:09 -0000	1.375
@@ -790,7 +790,11 @@
     mp_msg(MSGT_CPLAYER,MSGL_FATAL,MSGTR_InvalidVOdriver,video_driver?video_driver:"?");
     exit_player(MSGTR_Exit_error);
   }
-
+  if((i=video_out->preinit(vo_subdevice))!=0)
+  {
+    mp_msg(MSGT_CPLAYER,MSGL_FATAL,"error on vo preinit = %u\n",i);
+    exit_player(MSGTR_Exit_error);
+  }
 // check audio_out driver name:
     if (audio_driver)
 	if ((i = strcspn(audio_driver, ":")) > 0)




More information about the MPlayer-cvslog mailing list