Bagikan melalui


IMFVideoMixerControl2 interface (evr.h)

[The component described on this page, Enhanced Video Renderer, is a legacy feature. It has been superseded by the Simple Video Renderer (SVR) exposed through the MediaPlayer and IMFMediaEngine components. To play video content you should send data into one of these components and allow them to instantiate the new video renderer. These components have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer or the lower level IMFMediaEngine APIs to play video media in Windows instead of the EVR, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

Controls preferences for video deinterlacing.

The default video mixer for the Enhanced Video Renderer (EVR) implements this interface.

To get a pointer to the interface, call IMFGetService::GetService on any of the following objects, using the MR_VIDEO_MIXER_SERVICE service identifier:

  • The Media Session, if the topology contains an instance of the EVR.
  • The EVR media sink.
  • The DirectShow EVR filter.
  • The EVR mixer.

Inheritance

The IMFVideoMixerControl2 interface inherits from IMFVideoMixerControl. IMFVideoMixerControl2 also has these types of members:

Methods

The IMFVideoMixerControl2 interface has these methods.

 
IMFVideoMixerControl2::GetMixingPrefs

Gets the current preferences for video deinterlacing.
IMFVideoMixerControl2::SetMixingPrefs

Sets the preferences for video deinterlacing.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header evr.h

See also

IMFVideoMixerControl

Media Foundation Interfaces

Video Quality Management