diff options
author | a11599 <subvoice@freemail.hu> | 2014-12-31 00:52:45 +0100 |
---|---|---|
committer | a11599 <subvoice@freemail.hu> | 2014-12-31 00:52:45 +0100 |
commit | 9c73d934c0ee2452e0f7e3f639d053c146769000 (patch) | |
tree | fe0652b41e71bd81b0ecac2677352bd5ae56b87f | |
parent | a684387aa15c5980667adcb510796c982babbb75 (diff) |
[fixed] DXVA flickering on AMD
-rw-r--r-- | xbmc/cores/VideoRenderers/DXVA.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xbmc/cores/VideoRenderers/DXVA.cpp b/xbmc/cores/VideoRenderers/DXVA.cpp index 86146d7593..710bc700d3 100644 --- a/xbmc/cores/VideoRenderers/DXVA.cpp +++ b/xbmc/cores/VideoRenderers/DXVA.cpp @@ -664,6 +664,7 @@ bool CProcessor::Render(CRect src, CRect dst, IDirect3DSurface9* target, IDirect vs.Start = frameIdx + (sampIdx - pastFrames) * 2; vs.End = vs.Start + 2; vs.PlanarAlpha = DXVA2_Fixed32OpaqueAlpha(); + vs.SampleFormat = m_desc.SampleFormat; vs.SampleFormat.SampleFormat = sampleFormat; // Override the sample format when the processor doesn't need to deinterlace or when deinterlacing is forced and flags are missing. |