# HG changeset patch # User faust3 # Date 1066855198 0 # Node ID a71000eeeb9c28698f8bfda7d40faed0006872ae # Parent 38ce28265e5f948096487825746e34560964d90d mingw port diff -r 38ce28265e5f -r a71000eeeb9c libvo/vosub_vidix.c --- 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");