MF_TRANSCODE_SINK_INFO structure (mfidl.h)

Contains information about the audio and video streams for the transcode sink activation object.

To get the information stored in this structure, call IMFTranscodeSinkInfoProvider::GetSinkInfo.

Syntax

typedef struct _MF_TRANSCODE_SINK_INFO {
  DWORD        dwVideoStreamID;
  IMFMediaType *pVideoMediaType;
  DWORD        dwAudioStreamID;
  IMFMediaType *pAudioMediaType;
} MF_TRANSCODE_SINK_INFO;

Members

dwVideoStreamID

The stream identifier of the video stream.

pVideoMediaType

A pointer to the IMFMediaType interface of the media type for the video stream. This member can be NULL.

dwAudioStreamID

The stream identifier of the audio stream.

pAudioMediaType

A pointer to the IMFMediaType interface of the media type for the audio stream. This member can be NULL.

Remarks

The IMFTranscodeSinkInfoProvider::GetSinkInfo method assigns IMFMediaType pointers to the pAudioMediaType and pVideoMediaType members of this structure. The method might set either member to NULL. If either member is non-NULL after the method returns, the caller must release the IMFMediaType pointers.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header mfidl.h

See also

IMFTranscodeSinkInfoProvider::GetSinkInfo

Media Foundation Structures