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/decoders/ILAVDecoder.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/decoders/ILAVDecoder.h')
-rw-r--r-- | decoder/LAVVideo/decoders/ILAVDecoder.h | 5 |
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; }; /** |