WMEncoder.InsertCleanpoint

Windows Media Encoder SDK banner art

The InsertCleanpoint method inserts a clean point into the video stream.

Syntax

void WMEncoder.InsertCleanpoint();

Parameters

This method takes no parameters.

Return Values

If this method fails, it returns an error number.

Return code Number Description
NS_E_NO_ACTIVE_SOURCEGROUP 0xC00D1B72L No source is currently active.
NS_E_INVALID_REQUEST 0xC00D002BL There is no video stream in the source group.

Remarks

This method forces a key frame into the video.

Requirements

Reference: Windows Media Encoder

Namespace: WMEncoderLib

Assembly: Interop.WMEncoderLib.dll

Library: WMEncoderLib.dll

See Also