Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/LAVFilters.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2013-04-19 21:21:39 +0400
committerHendrik Leppkes <h.leppkes@gmail.com>2013-04-19 21:21:39 +0400
commit998c3ca7d5b8ab0cb0f99c1c7aef3850b3544363 (patch)
tree57b9eb648fdfe2306a9f5cf865150c378fac5af9 /decoder
parente2484afefcd7496ba41a332f23e0ae32ba3becae (diff)
dxva2: document the reason for the decoder re-creation
Diffstat (limited to 'decoder')
-rw-r--r--decoder/LAVVideo/decoders/dxva2dec.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/decoder/LAVVideo/decoders/dxva2dec.cpp b/decoder/LAVVideo/decoders/dxva2dec.cpp
index 22d2977f..988db2b3 100644
--- a/decoder/LAVVideo/decoders/dxva2dec.cpp
+++ b/decoder/LAVVideo/decoders/dxva2dec.cpp
@@ -1185,6 +1185,7 @@ STDMETHODIMP CDecDXVA2::Flush()
}
#endif
+ // This solves an issue with corruption after seeks on AMD systems, see JIRA LAV-5
if (m_dwVendorId == VEND_ID_ATI && m_nCodecId == AV_CODEC_ID_H264 && m_pDecoder) {
CreateDXVA2Decoder(m_NumSurfaces, m_pRawSurface);
}