CTransformOutputPin.DecideBufferSize method

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

Transfrm.h (include Streams.h)

Library

Strmbase.lib (retail builds);
Strmbasd.lib (debug builds)

 

 

Show: