Compartir a través de


IWMColorConvProps::SetMode Method

Specifies whether the input video stream is interlaced.

Syntax

HRESULT SetMode(
  [in]  LONG lMode
);

Parameters

  • lMode [in]
    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

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Header

Wmcodecdsp.h

See Also

IWMColorConvProps Interface

 

 

Send comments about this topic to Microsoft

Build date: 4/7/2010