IMFSourceReader Interface
Implemented by the Microsoft Media Foundation source reader object.
Mitglieder
IMFSourceReaderSchnittstelle erbt von der IUnknown-Schnittstelle. IMFSourceReader umfasst auch die folgenden Typen von Mitgliedern:
- Methoden
Methoden
IMFSourceReaderSchnittstelle umfasst die folgenden Methoden.
Methode | Beschreibung |
---|---|
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. |
Hinweise
To create the source reader, call one of the following functions:
Alternatively, use the IMFReadWriteClassFactory interface.
This interface is available on Windows Vista if Ergänzung zum Plattformupdate für Windows Vista is installed.
Anforderungen
Mindestens unterstützter Client |
Windows 7, Windows Vista and Platform Update Supplement for Windows Vista |
Mindestens unterstützter Server |
Windows Server 2008 R2 |
Header |
Mfreadwrite.h |