[Mplayer-cvslog] CVS: main/libvo vosub_vidix.c,1.60,1.61

Sascha Sommer CVS faust3 at mplayerhq.hu
Wed Oct 22 22:41:06 CEST 2003


Update of /cvsroot/mplayer/main/libvo
In directory mail:/var/tmp.root/cvs-serv28550/libvo

Modified Files:
	vosub_vidix.c 
Log Message:
mingw port

Index: vosub_vidix.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vosub_vidix.c,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -r1.60 -r1.61
--- vosub_vidix.c	2 Oct 2003 15:01:51 -0000	1.60
+++ vosub_vidix.c	22 Oct 2003 20:39:58 -0000	1.61
@@ -700,10 +700,18 @@
 	  printf("vosub_vidix: You have wrong version of VIDIX library\n");
 	  return -1;
 	}
+#ifndef __MINGW32__
 	vidix_handler = vdlOpen(MPLAYER_LIBDIR "/mplayer/vidix/",
 				drvname ? drvname[0] == ':' ? &drvname[1] : drvname[0] ? drvname : NULL : NULL,
 				TYPE_OUTPUT,
 				verbose);
+#else
+	vidix_handler = vdlOpen(get_path("vidix/"),
+				drvname ? drvname[0] == ':' ? &drvname[1] : drvname[0] ? drvname : NULL : NULL,
+				TYPE_OUTPUT,
+				verbose);
+#endif              
+              
 	if(vidix_handler == NULL)
 	{
 		printf("vosub_vidix: Couldn't find working VIDIX driver\n");



More information about the MPlayer-cvslog mailing list