summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
Diffstat (limited to 'libvo')
-rw-r--r--libvo/Makefile4
-rw-r--r--libvo/vosub_vidix.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/libvo/Makefile b/libvo/Makefile
index ecb4203c99..6e7560e699 100644
--- a/libvo/Makefile
+++ b/libvo/Makefile
@@ -29,6 +29,10 @@ ifeq ($(VIDIX),yes)
SRCS += vosub_vidix.c
endif
+ifeq ($(EXTERNAL_VIDIX),yes)
+SRCS += vosub_vidix.c
+endif
+
CFLAGS = $(OPTFLAGS) -I. -I.. -I../osdep \
$(LIBAV_INC) \
$(FREETYPE_INC) \
diff --git a/libvo/vosub_vidix.c b/libvo/vosub_vidix.c
index 31dc21cd6c..f2764e4ed9 100644
--- a/libvo/vosub_vidix.c
+++ b/libvo/vosub_vidix.c
@@ -716,7 +716,7 @@ int vidix_preinit(const char *drvname,void *server)
return -1;
}
#ifndef __MINGW32__
- vidix_handler = vdlOpen(MPLAYER_LIBDIR "/mplayer/vidix/",
+ vidix_handler = vdlOpen(MP_VIDIX_PFX,
drvname ? drvname[0] == ':' ? &drvname[1] : drvname[0] ? drvname : NULL : NULL,
TYPE_OUTPUT,
verbose);