Click to Rate and Give Feedback
IMFSourceReader Interface

Implemented by the Microsoft Media Foundation source reader object.

Methods

The IMFSourceReader interface inherits the methods of the IUnknown interface.

In addition, IMFSourceReader defines the following methods.

MethodDescription

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.

Requirements

Minimum supported clientWindows 7
Minimum supported serverWindows Server 2008 R2
HeaderMfreadwrite.h

See Also

Media Foundation Interfaces
Source Reader

Send comments about this topic to Microsoft

Build date: 10/8/2009

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker