IWMColorConvProps::SetMode method (wmcodecdsp.h)

Specifies whether the input video stream is interlaced.

Syntax

HRESULT SetMode(
  [in] LONG lMode
);

Parameters

[in] lMode

Specifies one of the following values.

Value Meaning
0
Progressive video
2
Interlaced video

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.

Remarks

By default, the color converter uses the input media type to determine whether the video is interlaced. You can call this method to override the media type setting.

This method is equivalent to setting the MFPKEY_COLORCONV_MODE property.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header wmcodecdsp.h

See also

IWMColorConvProps Interface