aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCrystalPT <CrystalPT@svn>2010-10-18 04:25:14 +0000
committerCrystalPT <CrystalPT@svn>2010-10-18 04:25:14 +0000
commit0c8f7b6ce85ad8526667decb54479aa7e059294a (patch)
tree42a25bdb904412ff2134af12273cbb15de72a783
parent3d163c63c8a520d10716f5e95f9af074b68f75c1 (diff)
[WIN32] Disable constriction. Constriction is meant to downgrade image quality for protected content on unprotected displays
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@34815 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
-rw-r--r--xbmc/cores/dvdplayer/DVDCodecs/Video/DXVA.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xbmc/cores/dvdplayer/DVDCodecs/Video/DXVA.cpp b/xbmc/cores/dvdplayer/DVDCodecs/Video/DXVA.cpp
index 2fb5f50670..6c99066b10 100644
--- a/xbmc/cores/dvdplayer/DVDCodecs/Video/DXVA.cpp
+++ b/xbmc/cores/dvdplayer/DVDCodecs/Video/DXVA.cpp
@@ -1061,8 +1061,8 @@ bool CProcessor::Render(const RECT &dst, IDirect3DSurface9* target, REFERENCE_TI
DXVA2_VideoProcessBltParams blt = {};
blt.TargetFrame = time;
blt.TargetRect = samp[0].DstRect;
- blt.ConstrictionSize.cx = blt.TargetRect.right - blt.TargetRect.left;
- blt.ConstrictionSize.cy = blt.TargetRect.bottom - blt.TargetRect.top;
+ blt.ConstrictionSize.cx = 0;
+ blt.ConstrictionSize.cy = 0;
blt.DestFormat.VideoTransferFunction = DXVA2_VideoTransFunc_sRGB;
blt.DestFormat.SampleFormat = DXVA2_SampleProgressiveFrame;