Commit 421924ae authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

mf/evr: Trigger media type negotiation through presenter for reference stream.

parent 4bdaeaeb
......@@ -419,6 +419,8 @@ static HRESULT WINAPI video_stream_typehandler_SetCurrentMediaType(IMFMediaTypeH
return MF_E_STREAMSINK_REMOVED;
hr = IMFTransform_SetInputType(stream->parent->mixer, stream->id, type, 0);
if (SUCCEEDED(hr) && !stream->id)
hr = IMFVideoPresenter_ProcessMessage(stream->parent->presenter, MFVP_MESSAGE_INVALIDATEMEDIATYPE, 0);
return hr;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment