MFORMATSLib Namespace > MFWriterClass Class : WriterOptionSet Method |
Public Overridable Sub WriterOptionSet( _ ByVal _eType As eMFWriterOption, _ ByVal _bsName As String, _ ByRef _ppProps As IMFProps _ )
public virtual void WriterOptionSet( eMFWriterOption _eType, string _bsName, out IMFProps _ppProps )
Here is example of how set video codec by its name:
IMFProps props; m_objWriter.WriterOptionSet(eMFWriterOption.eMFWO_VideoCodec, "mp4", out props);