IMFTranscodeProfile::SetContainerAttributes method (mfidl.h)
Sets container configuration settings in the transcode profile.
For example code, see MFCreateTranscodeProfile.
Syntax
HRESULT SetContainerAttributes(
[in] IMFAttributes *pAttrs
);
Parameters
[in] pAttrs
Pointer to the IMFAttributes interface of an attribute store that contains the configuration settings for the container in which the transcoded file will be stored. The specified attribute values overwrite any existing values stored in the transcode profile.
The following list shows the container attributes that can be set:
- MF_TRANSCODE_ADJUST_PROFILE
- MF_TRANSCODE_CONTAINERTYPE
- MF_TRANSCODE_SKIP_METADATA_TRANSFER
- MF_TRANSCODE_TOPOLOGYMODE
- MFT_FIELDOFUSE_UNLOCK
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Target Platform | Windows |
Header | mfidl.h |