diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2015-01-17 15:11:00 +0300 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2015-01-17 15:11:00 +0300 |
commit | 5dc5394ba57b73a7822aedd8f1dc20ac194c47a1 (patch) | |
tree | bc021e66a53ca4883b4e6bfc6dee6a5325440e29 /decoder | |
parent | 05baf88696b143930ff08395a37c61e4bfdac060 (diff) |
dxva2: remove strict compliance hack
This should reduce H264 decoding delay in DXVA2 mode and ensure behaviour
of DXVA2 decoding and software decoding is the same.
Diffstat (limited to 'decoder')
-rw-r--r-- | decoder/LAVVideo/decoders/dxva2dec.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/decoder/LAVVideo/decoders/dxva2dec.cpp b/decoder/LAVVideo/decoders/dxva2dec.cpp index 237ea786..1e32d432 100644 --- a/decoder/LAVVideo/decoders/dxva2dec.cpp +++ b/decoder/LAVVideo/decoders/dxva2dec.cpp @@ -1289,8 +1289,6 @@ HRESULT CDecDXVA2::AdditionaDecoderInit() } m_pAVCtx->thread_count = 1; - if (!m_bDTSOnly) - m_pAVCtx->strict_std_compliance = FF_COMPLIANCE_STRICT; m_pAVCtx->hwaccel_context = ctx; m_pAVCtx->get_format = get_dxva2_format; m_pAVCtx->get_buffer2 = get_dxva2_buffer; |