(Virtual) Retrieves a preferred media type for a specified output stream
protected virtual int InternalGetOutputType(
int dwOutputStreamIndex,
int dwTypeIndex,
out AMMediaType pmt
);
int dwOutputStreamIndex,
int dwTypeIndex,
out AMMediaType pmt
);
Parameters
- dwOutputStreamIndex
- Output 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 our output type is the same as our input type.