(Virtual) Retrieves a preferred media type for a specified input stream
protected virtual int InternalGetInputType(
int dwInputStreamIndex,
int dwTypeIndex,
out AMMediaType pmt
);
int dwInputStreamIndex,
int dwTypeIndex,
out AMMediaType pmt
);
Parameters
- dwInputStreamIndex
- Input stream number
- dwTypeIndex
- Index into the array of supported media types
- pmt
- The media type
Return Value
DMOResults.E_NoMoreItems if out of range or S_OK for successful completion
Remarks
If the implementor supports returning a collection of supported media types, it should override this method. The default implementation assumes we don't enumerate our supported types. The app calling this DMO should just try setting something and see if it works.