Freigeben über


IMFTransform::GetOutputStreamInfo Method

Gets the buffer requirements and other information for an output stream on this Media Foundation transform (MFT).

Syntax

HRESULT GetOutputStreamInfo(
  [in]   DWORD dwOutputStreamID,
  [out]  MFT_OUTPUT_STREAM_INFO *pStreamInfo
);

Parameter

  • dwOutputStreamID [in]
    Output stream identifier. To get the list of stream identifiers, call IMFTransform::GetStreamIDs.

  • pStreamInfo [out]
    Pointer to an MFT_OUTPUT_STREAM_INFO structure. The method fills the structure with information about the output stream.

Rückgabewert

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Rückgabecode Beschreibung
S_OK

The method succeeded.

MF_E_INVALIDSTREAMNUMBER

Invalid stream number.

 

Hinweise

It is valid to call this method before setting the media types.

If MFT_UNIQUE_METHOD_NAMES is defined before including mftransform.h, this method is renamed MFTGetOutputStreamInfo. See Creating Hybrid DMO/MFT Objects.

Anforderungen

Mindestens unterstützter Client

Windows Vista

Mindestens unterstützter Server

Windows Server 2008

Header

Mftransform.h

Bibliothek

Mfuuid.lib

Siehe auch

IMFTransform

Media Foundation Transforms