Nikolay Sivov : mf/evr: Notify presenter on new input.
Module: wine Branch: master Commit: 3641c80244445a8f5dd54232cdce4397c4b78cdf URL: https://source.winehq.org/git/wine.git/?a=commit;h=3641c80244445a8f5dd54232c... Author: Nikolay Sivov <nsivov(a)codeweavers.com> Date: Fri Oct 30 16:50:47 2020 +0300 mf/evr: Notify presenter on new input. Signed-off-by: Nikolay Sivov <nsivov(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/mf/evr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/mf/evr.c b/dlls/mf/evr.c index 618bbf8924f..f5bbfffc4a5 100644 --- a/dlls/mf/evr.c +++ b/dlls/mf/evr.c @@ -352,7 +352,8 @@ static HRESULT WINAPI video_stream_sink_ProcessSample(IMFStreamSink *iface, IMFS } else if (stream->parent->state == EVR_STATE_RUNNING) { - IMFTransform_ProcessInput(stream->parent->mixer, stream->id, sample, 0); + if (SUCCEEDED(IMFTransform_ProcessInput(stream->parent->mixer, stream->id, sample, 0))) + IMFVideoPresenter_ProcessMessage(stream->parent->presenter, MFVP_MESSAGE_PROCESSINPUTNOTIFY, 0); if (stream->flags & EVR_STREAM_PREROLLING) {
participants (1)
-
Alexandre Julliard