mirror of
https://github.com/mpv-player/mpv
synced 2025-02-06 15:11:58 +00:00
vd_lavc: fix CONFIG_VDPAU check
CONFIG_VDPAU was just defined to 0, instead of undefined when vdpau was unavailable. I blame the old mplayer code, which apparently can't have consistent conventions.
This commit is contained in:
parent
a8153f59d5
commit
7f5303fbb6
@ -99,7 +99,7 @@ const struct vd_lavc_hwdec_functions mp_vd_lavc_vdpau;
|
||||
const struct vd_lavc_hwdec_functions mp_vd_lavc_vdpau_old;
|
||||
|
||||
static const struct hwdec hwdec_list[] = {
|
||||
#ifdef CONFIG_VDPAU
|
||||
#if CONFIG_VDPAU
|
||||
#if HAVE_AV_CODEC_NEW_VDPAU_API
|
||||
{HWDEC_VDPAU, "h264", NULL, &mp_vd_lavc_vdpau},
|
||||
{HWDEC_VDPAU, "wmv3", NULL, &mp_vd_lavc_vdpau},
|
||||
|
Loading…
Reference in New Issue
Block a user