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/decoders/ILAVDecoder.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/decoders/ILAVDecoder.h')
-rw-r--r--decoder/LAVVideo/decoders/ILAVDecoder.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/decoder/LAVVideo/decoders/ILAVDecoder.h b/decoder/LAVVideo/decoders/ILAVDecoder.h
index c4cb5501..39400ec8 100644
--- a/decoder/LAVVideo/decoders/ILAVDecoder.h
+++ b/decoder/LAVVideo/decoders/ILAVDecoder.h
@@ -282,6 +282,11 @@ interface ILAVVideoCallback
* Get the index of the GPU device to be used for HW decoding, DWORD_MAX if not set
*/
STDMETHOD_(DWORD, GetGPUDeviceIndex)() PURE;
+
+ /**
+ * Check if the input is using a dynamic allocator
+ */
+ STDMETHOD_(BOOL, HasDynamicInputAllocator)() PURE;
};
/**