IMFTransform::GetInputStreamInfo method (mftransform.h)
Gets the buffer requirements and other information for an input stream on this Media Foundation transform (MFT).
Syntax
HRESULT GetInputStreamInfo(
[in] DWORD dwInputStreamID,
[out] MFT_INPUT_STREAM_INFO *pStreamInfo
);
Parameters
[in] dwInputStreamID
Input stream identifier. To get the list of stream identifiers, call IMFTransform::GetStreamIDs.
[out] pStreamInfo
Pointer to an MFT_INPUT_STREAM_INFO structure. The method fills the structure with information about the input stream.
Return value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
|
The method succeeded. |
|
Invalid stream identifier. |
Remarks
It is valid to call this method before setting the media types. Note that the results of this call can change dynamically after the media type changes and after ProcessInput is called, so you may need to call this method again after either of these occur.
If MFT_UNIQUE_METHOD_NAMES is defined before including mftransform.h, this method is renamed MFTGetInputStreamInfo. See Creating Hybrid DMO/MFT Objects.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2008 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | mftransform.h |
Library | Mfuuid.lib |