CMediaType.SetVariableSize method

The SetVariableSize method specifies that samples do not have a fixed size.

Syntax


void SetVariableSize();

Parameters

This method has no parameters.

Return value

This method does not return a value.

Remarks

This method sets the bFixedSizeSamples member to FALSE. Subsequent calls to the CMediaType::GetSampleSize method return zero.

Requirements

Header

Mtype.h (include Streams.h)

Library

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

See also

CMediaType Class

 

 

Community Additions

ADD
Show:
© 2014 Microsoft