CTransformOutputPin::DecideBufferSize
Microsoft DirectShow 9.0 |
CTransformOutputPin::DecideBufferSize
The DecideBufferSize method sets the buffer requirements.
Syntax
HRESULT DecideBufferSize( IMemAllocator *pAlloc, ALLOCATOR_PROPERTIES *ppropInputRequest );
Parameters
pAlloc
Pointer to the allocator's IMemAllocator interface.
ppropInputRequest
Pointer an ALLOCATOR_PROPERTIES structure that contains the input pin's buffer requirements.
Return Value
Returns an HRESULT value.
Remarks
This method overrides the CBaseOutputPin::DecideBufferSize method. It calls the filter's pure virtual CTransformFilter::DecideBufferSize method, which the filter's derived class must implement.
Requirements
** Header:** Declared in Transfrm.h; include Streams.h.
** Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).
See Also