Mercurial > mplayer.hg
comparison libvo/video_out.c @ 28585:7d42a45c225d
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.
author | uau |
---|---|
date | Tue, 17 Feb 2009 00:09:15 +0000 |
parents | 4d64f83e2fac |
children | 7ca6dcad8cc0 |
comparison
equal
deleted
inserted
replaced
28584:239a2ceda4ff | 28585:7d42a45c225d |
---|---|
168 &video_out_wii, | 168 &video_out_wii, |
169 #endif | 169 #endif |
170 #ifdef CONFIG_3DFX | 170 #ifdef CONFIG_3DFX |
171 &video_out_3dfx, | 171 &video_out_3dfx, |
172 #endif | 172 #endif |
173 #ifdef CONFIG_VDPAU | 173 #if CONFIG_VDPAU |
174 &video_out_vdpau, | 174 &video_out_vdpau, |
175 #endif | 175 #endif |
176 #ifdef CONFIG_XV | 176 #ifdef CONFIG_XV |
177 &video_out_xv, | 177 &video_out_xv, |
178 #endif | 178 #endif |