Gets the buffer requirements and other information for an input stream on this Media Foundation transform (MFT).
public:
HRESULT GetInputStreamInfo(
DWORD dwInputStreamID,
MFT_INPUT_STREAM_INFO *pStreamInfo
)
dwInputStreamID
Type: DWORD
Input stream identifier. To get the list of stream identifiers, call IMFTransform::GetStreamIDs.
pStreamInfo
Type: MFT_INPUT_STREAM_INFO *
[out] Pointer to an MFT_INPUT_STREAM_INFO structure. The method fills the structure with information about the input stream.
Type: HRESULT
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
| Return code | Description |
|---|---|
| S_OK | The method succeeded. |
| MF_E_INVALIDSTREAMNUMBER | Invalid stream identifier. |
Refer to Media Foundation return codes.
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 MFTGetInputStreamInfo. See Creating Hybrid DMO/MFT Objects.
Header: Declared in mftransform.h.
Library: Use Mfuuid.lib.