IWMColorConvProps::SetMode
Specifies whether the input video stream is interlaced.
Syntax
HRESULT SetMode(LONGlMode);
Parameters
lMode
[in] Specifies one of the following values.
Value | Description |
0 | Progressive video |
2 | Interlaced video |
Return Values
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
Client: Requires Windows Vista or Windows XP.
Header: Include wmcodecdsp.h.
See Also