MFORMATSLib Namespace > IMFFormat Interface : FormatVideoSet Method |
Sub FormatVideoSet( _ ByVal _eFormatType As eMFormatType, _ ByRef _pVidProps As M_VID_PROPS _ )
void FormatVideoSet( eMFormatType _eFormatType, ref M_VID_PROPS _pVidProps )
procedure FormatVideoSet( _eFormatType: eMFormatType; var _pVidProps: M_VID_PROPS );
void FormatVideoSet( eMFormatType _eFormatType, ref M_VID_PROPS _pVidProps )
Here is example of how to set a video format for a live object:
M_VID_PROPS vidProps; string name; m_objLive.FormatVideoGetByIndex(eMFormatType.eMFT_Input, comboBoxVF.SelectedIndex, out vidProps, out name); m_objLive.FormatVideoSet(eMFormatType.eMFT_Input, vidProps);