Sophie

Sophie

distrib > Mandriva > 2010.1 > i586 > media > contrib-updates-src > by-pkgid > f722e3fddb6bcd9335a8848a4b05a73c > files > 14

xbmc-10.1-1.pvr.2mdv2010.2.src.rpm

From 38220188f67961a77e128f8808f49f49acd0a8cf Mon Sep 17 00:00:00 2001
From: anssih <anssih@568bbfeb-2a22-0410-94d2-cc84cf5bfa90>
Date: Fri, 3 Sep 2010 19:35:30 +0000
Subject: [PATCH 5/8] 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.

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@33512 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
(cherry picked from commit 86c1c5befa426e1bc2c24e6f641cf2c3f3710eb7)
---
 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 4e9662c..f7877b1 100644
--- a/xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.cpp
+++ b/xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.cpp
@@ -640,7 +640,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.3