diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2017-04-22 13:16:54 +0300 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2017-04-22 13:16:54 +0300 |
commit | e25136a214f88e75f7d71293efb7b4c36f3c7313 (patch) | |
tree | ecb05a26bdf041e95ba297766bac82da99769cc2 /decoder/LAVVideo/LAVVideo.h | |
parent | be1155eab07f237abdab5b693ee6a13e5cc4e688 (diff) |
avcodec: use refcounted packets if we're using a dynamic input allocator
This avoids copying the input packets into new ref-counted memory.
Diffstat (limited to 'decoder/LAVVideo/LAVVideo.h')
-rw-r--r-- | decoder/LAVVideo/LAVVideo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/decoder/LAVVideo/LAVVideo.h b/decoder/LAVVideo/LAVVideo.h index 57b65253..d626af9b 100644 --- a/decoder/LAVVideo/LAVVideo.h +++ b/decoder/LAVVideo/LAVVideo.h @@ -181,6 +181,7 @@ public: STDMETHODIMP_(LAVFrame*) GetFlushFrame(); STDMETHODIMP ReleaseAllDXVAResources() { ReleaseLastSequenceFrame(); return S_OK; } STDMETHODIMP_(DWORD) GetGPUDeviceIndex() { return m_dwGPUDeviceIndex; } + STDMETHODIMP_(BOOL) HasDynamicInputAllocator(); // IPropertyBag STDMETHODIMP Read(LPCOLESTR pszPropName, VARIANT *pVar, IErrorLog *pErrorLog); |