summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2010-05-11 03:57:04 +0300
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-05-11 04:07:31 +0300
commit0ae292fbcb03fadd57501b831603783c5a5a5754 (patch)
tree9c898b0ca3968225ea3b718e5e3a2c8129f4462a /libvo
parentb26d8828d403ab495ccf066ec205298af74b9be5 (diff)
downloadmpv-0ae292fbcb03fadd57501b831603783c5a5a5754.tar.bz2
mpv-0ae292fbcb03fadd57501b831603783c5a5a5754.tar.xz
vdpau: drop support for old versions
Since I dropped the hack to support older libvdpau versions (without MPEG4 / hqscaling features) from the FFmpeg version used in the build repo it's better to disable those libvdpau versions in MPlayer too. Change the configure check to require a newer libvdpau version, and drop compatibility code in vo_vdpau.c.
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_vdpau.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libvo/vo_vdpau.c b/libvo/vo_vdpau.c
index bd63626961..e6c21663e8 100644
--- a/libvo/vo_vdpau.c
+++ b/libvo/vo_vdpau.c
@@ -626,10 +626,6 @@ static int create_vdp_mixer(struct vo *vo, VdpChromaType vdp_chroma_type)
if (vc->sharpen)
features[feature_count++] = VDP_VIDEO_MIXER_FEATURE_SHARPNESS;
if (vc->hqscaling) {
-#ifndef VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L1
- mp_msg(MSGT_VO, MSGL_ERR, "[vdpau] MPlayer was compiled with (old?) "
- "libvdpau headers with no support for requested hqscaling.\n");
-#else
VdpVideoMixerFeature hqscaling_feature =
VDP_VIDEO_MIXER_FEATURE_HIGH_QUALITY_SCALING_L1 + vc->hqscaling-1;
VdpBool hqscaling_available;
@@ -642,7 +638,6 @@ static int create_vdp_mixer(struct vo *vo, VdpChromaType vdp_chroma_type)
else
mp_msg(MSGT_VO, MSGL_ERR, "[vdpau] Your hardware or VDPAU "
"library does not support requested hqscaling.\n");
-#endif
}
vdp_st = vdp->video_mixer_create(vc->vdp_device, feature_count, features,