[PATCH 7/7] mf/evr: Notify presenter on new input.
Nikolay Sivov
nsivov at codeweavers.com
Fri Oct 30 08:50:47 CDT 2020
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
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)
{
--
2.28.0
More information about the wine-devel
mailing list