Share via


CMediaType::SetTemporalCompression

 
Microsoft DirectShow 9.0

CMediaType::SetTemporalCompression

The SetTemporalCompression method specifies whether samples are compressed using temporal (interframe) compression.

Syntax

  void SetTemporalCompression(
    BOOL bCompressed
);

Parameters

bCompressed

Boolean value that specifies whether the stream uses temporal compression. If the stream uses temporal compression, set the value to TRUE.

Remarks

This method sets the bTemporalCompression member.

Requirements

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

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

See Also