IMFTranscodeProfile::GetContainerAttributes method

Gets the container settings that are currently set in the transcode profile.

Syntax


HRESULT GetContainerAttributes(
  [out] IMFAttributes **ppAttrs
);

Parameters

ppAttrs [out]

Receives a pointer to the IMFAttributes interface of the attribute store containing the current container type for the output file. Caller must release the interface pointer.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

If there are no container attributes set in the transcode profile, the call to GetContainerAttributes succeeds and ppAttrs receives NULL.

To get a specific attribute value, the caller must call the appropriate IMFAttributes method depending on the data type of the attribute. The following list shows the container attributes:

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Mfidl.h

See also

Attributes in Media Foundation
Transcode API
IMFTranscodeProfile

 

 

Show: