changeset 11239:a71000eeeb9c

mingw port
author faust3
date Wed, 22 Oct 2003 20:39:58 +0000
parents 38ce28265e5f
children 5403367c7032
files libvo/vosub_vidix.c
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vosub_vidix.c	Wed Oct 22 20:17:23 2003 +0000
+++ b/libvo/vosub_vidix.c	Wed Oct 22 20:39:58 2003 +0000
@@ -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");