Freigeben über


CMediaType::SetVariableSize

 
Microsoft DirectShow 9.0

CMediaType::SetVariableSize

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

Syntax

  void SetVariableSize(void);

Remarks

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

Requirements

**  Header:** Declared in Mtype.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also