summaryrefslogtreecommitdiffstats
path: root/libvo/vosub_vidix.c
diff options
context:
space:
mode:
authorfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-10-22 20:39:58 +0000
committerfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-10-22 20:39:58 +0000
commitc5065685a83ee76dc4f8fdbebb738ca79260cc80 (patch)
tree5404677bd39a548b45506429514bb6ffdefd0a1a /libvo/vosub_vidix.c
parentba171b8809fa688b2048e43c4e01a9db862a8525 (diff)
downloadmpv-c5065685a83ee76dc4f8fdbebb738ca79260cc80.tar.bz2
mpv-c5065685a83ee76dc4f8fdbebb738ca79260cc80.tar.xz
mingw port
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11240 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vosub_vidix.c')
-rw-r--r--libvo/vosub_vidix.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/libvo/vosub_vidix.c b/libvo/vosub_vidix.c
index 9af390ef59..a61fae3ab5 100644
--- a/libvo/vosub_vidix.c
+++ b/libvo/vosub_vidix.c
@@ -700,10 +700,18 @@ int vidix_preinit(const char *drvname,void *server)
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");