From 753c18247ebda7ff8d11e6d92baadb86cafcb1d0 Mon Sep 17 00:00:00 2001 From: Anssi Hannula Date: Sun, 8 Aug 2010 15:55:05 +0300 Subject: [PATCH 5/5] changed: enable VDPAU temporal deinterlacer when temporal_spatial selected When the user has selected the temporal-spatial deinterlacer, enable temporal deinterlacer as well allowing the driver to choose the best algorithm to apply. Also, not doing this prevented temporal-spatial deinterlacing completely from activating for me. This is also how xine-lib, mplayer, and mythtv handle it. --- xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.cpp b/xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.cpp index 214980b..21cd423 100644 --- a/xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.cpp +++ b/xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.cpp @@ -627,7 +627,7 @@ void CVDPAU::SetDeinterlacing() else if (method == VS_INTERLACEMETHOD_VDPAU_TEMPORAL_SPATIAL || method == VS_INTERLACEMETHOD_VDPAU_TEMPORAL_SPATIAL_HALF) { - VdpBool enabled[]={0,1,0}; + VdpBool enabled[]={1,1,0}; vdp_st = vdp_video_mixer_set_feature_enables(videoMixer, ARSIZE(feature), feature, enabled); } else if (method == VS_INTERLACEMETHOD_VDPAU_INVERSE_TELECINE) -- 1.7.2