ImageEn, unit iemmf

TIEMediaFoundationSourceReader.GetMediaTypesCount

TIEMediaFoundationSourceReader.GetMediaTypesCount


Declaration

function GetMediaTypesCount(streamIndex: integer): integer;
function GetMediaTypesCount(const streamType: WideString): integer;


Description

Returns the number of media types for the specified stream.

Parameter Description
streamIndex Index of the stream, in the range of 0 to StreamCount - 1
streamType A string representing the stream type. Only the first stream of this type will be considered. Can be any one of the values accepted by GetStreamType


See Also

StreamCount
GetMediaType