summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authoruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-17 00:09:15 +0000
committeruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-17 00:09:15 +0000
commit991d64b31f076b9e2128dd47b17aa1554e166571 (patch)
tree7bc63045477ce563f0663e83bc4f662ab4e8978f /libvo
parent288f25d8d9130e7515e854d2e65654b8667fb319 (diff)
downloadmpv-991d64b31f076b9e2128dd47b17aa1554e166571.tar.bz2
mpv-991d64b31f076b9e2128dd47b17aa1554e166571.tar.xz
Fix compilation without VDPAU
The commit adding vo_vdpau had two bugs that broke compilation when VDPAU was not enabled. - video_out.c used "#ifdef CONFIG_VDPAU", but it's always set to 0 or 1 - In configure, MPEG1_VDPAU_DECODER was dropped from the list of libavcodec codecs to disable when moving VDPAU-related ones from the always-disabled list to a conditinal one. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28620 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/video_out.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/video_out.c b/libvo/video_out.c
index 54291cfce9..2089eeb63d 100644
--- a/libvo/video_out.c
+++ b/libvo/video_out.c
@@ -170,7 +170,7 @@ const vo_functions_t* const video_out_drivers[] =
#ifdef CONFIG_3DFX
&video_out_3dfx,
#endif
-#ifdef CONFIG_VDPAU
+#if CONFIG_VDPAU
&video_out_vdpau,
#endif
#ifdef CONFIG_XV