diff options
Diffstat (limited to 'decoder')
-rw-r--r-- | decoder/LAVVideo/decoders/dxva2dec.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/decoder/LAVVideo/decoders/dxva2dec.h b/decoder/LAVVideo/decoders/dxva2dec.h index 888e7031..2d564c3f 100644 --- a/decoder/LAVVideo/decoders/dxva2dec.h +++ b/decoder/LAVVideo/decoders/dxva2dec.h @@ -52,6 +52,7 @@ public: STDMETHODIMP_(long) GetBufferCount(); STDMETHODIMP_(const WCHAR*) GetDecoderName() { return m_bNative ? L"dxva2n" : L"dxva2cb"; } STDMETHODIMP HasThreadSafeBuffers() { return m_bNative ? S_FALSE : S_OK; } + STDMETHODIMP SyncToProcessThread() { return HasThreadSafeBuffers() == S_OK ? S_FALSE : S_OK; } // CDecBase STDMETHODIMP Init(); |