Share via


CMediaType::SetVariableSize (Compact 2013)

3/26/2014

Sets the media type to indicate that the data stream will send variable-length samples.

Syntax

void SetVariableSize( );

Parameters

None.

Return Value

None.

Remarks

Subsequent calls to CMediaType::GetSampleSize will return zero.

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CMediaType Class