MERendererEvent event

Signals an event from a media sink that renders media data.

The Enhanced Video Renderer (EVR) sends this event when it receives a user event from the EVR presenter.

Event values

Possible values retrieved from IMFMediaEvent::GetValue include the following.

VARTYPEDescription

VT_I4

Event code.

Remarks

If the presenter calls the EVR's IMediaEventSink::Notify method with an event code in the range EC_USER or higher, the EVR sends this event. The event data is the event code that was passed to the Notify method.

The original event parameters (EventParam1 and EventParam2 in the IMediaEventSink::Notify method) are ignored, so the presenter should set these values to NULL.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Mfobjects.h (include Mfidl.h)

See also

Media Foundation Events

 

 

Show: