Signed-off-by: Nikolay Sivov nsivov@codeweavers.com --- dlls/mf/evr.c | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/dlls/mf/evr.c b/dlls/mf/evr.c index 47a506a94c6..3479bade251 100644 --- a/dlls/mf/evr.c +++ b/dlls/mf/evr.c @@ -2137,6 +2137,12 @@ static HRESULT WINAPI video_renderer_event_sink_Notify(IMediaEventSink *iface, L MEStreamSinkRequestSample, &GUID_NULL, S_OK, NULL); } } + else if (event == EC_DISPLAY_CHANGED) + { + for (idx = 0; idx < renderer->stream_count; ++idx) + IMFMediaEventQueue_QueueEventParamVar(renderer->streams[idx]->event_queue, + MEStreamSinkDeviceChanged, &GUID_NULL, S_OK, NULL); + } else if (event >= EC_USER) { PROPVARIANT code;