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>2017-04-22 13:16:54 +0300
committerHendrik Leppkes <h.leppkes@gmail.com>2017-04-22 13:16:54 +0300
commite25136a214f88e75f7d71293efb7b4c36f3c7313 (patch)
treeecb05a26bdf041e95ba297766bac82da99769cc2 /decoder/LAVVideo/LAVVideo.h
parentbe1155eab07f237abdab5b693ee6a13e5cc4e688 (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.h1
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);