IMFSourceReader interface
Implemented by the Microsoft Media Foundation source reader object.
Members
The IMFSourceReader interface inherits from the IUnknown interface. IMFSourceReader also has these types of members:
Methods
The IMFSourceReader interface has these methods.
| Method | Description |
|---|---|
| Flush |
Flushes one or more streams. |
| GetCurrentMediaType |
Gets the current media type for a stream. |
| GetNativeMediaType |
Gets a format that is supported natively by the media source. |
| GetPresentationAttribute |
Gets an attribute from the underlying media source. |
| GetServiceForStream |
Queries the underlying media source or decoder for an interface. |
| GetStreamSelection |
Queries whether a stream is selected. |
| ReadSample |
Reads the next sample from the media source. |
| SetCurrentMediaType |
Sets the media type for a stream. |
| SetCurrentPosition |
Seeks to a new position in the media source. |
| SetStreamSelection |
Selects or deselects one or more streams. |
Remarks
To create the source reader, call one of the following functions:
Alternatively, use the IMFReadWriteClassFactory interface.
This interface is available on Windows Vista if Platform Update Supplement for Windows Vista is installed.
In Windows 8, this interface is extended with IMFSourceReaderEx.
Requirements
|
Minimum supported client |
Windows 7, Windows Vista and Platform Update Supplement for Windows Vista [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2008 R2 [desktop apps | Windows Store apps] |
|
Header |
|
See also