Source Reader Attributes

The following attributes can be used to initialize the Source Reader.

AttributeDescription
MF_LOW_LATENCY Enables low-latency processing.
MF_READWRITE_DISABLE_CONVERTERS Enables or disables format conversions by the source reader.
MF_READWRITE_ENABLE_HARDWARE_TRANSFORMS Enables the source reader to use hardware-based Media Foundation transforms (MFTs).
MF_SOURCE_READER_ASYNC_CALLBACK Contains a pointer to the application's callback interface for the source reader.
MF_SOURCE_READER_D3D_MANAGER Contains a pointer to the Microsoft Direct3D Device Manager.
MF_SOURCE_READER_DISABLE_DXVA Specifies whether the source reader enables DirectX Video Acceleration (DXVA) on the video decoder.
MF_SOURCE_READER_DISCONNECT_MEDIASOURCE_ON_SHUTDOWN

Specifies whether the source reader shuts down the media source.

Applies only when the application creates the source reader from an existing media source object.

MF_SOURCE_READER_ENABLE_VIDEO_PROCESSING Enables limited video processing by the source reader.
MF_SOURCE_READER_MEDIASOURCE_CONFIG Contains configuration properties for the media source.
MFT_FIELDOFUSE_UNLOCK_Attribute Contains an IMFFieldOfUseMFTUnlock pointer, which is used to unlock an MFT with field-of-use restrictions. For more information, see Field of Use Restrictions.

 

Use these attributes with the following methods and functions:

To use any of these attributes, first call MFCreateAttributes to create a new attribute store. Then use the IMFAttributes interface to set the desired attributes on the attribute store. Pass the IMFAttributes pointer to the pAttributes parameter of any of the methods or functions listed previously.

Related topics

Media Foundation Attributes
Source Reader
IMFSourceReader

 

 

Community Additions

ADD
Show:
© 2014 Microsoft