[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: [PATCH 7/7] mf/evr: Notify presenter on new input.
From: Nikolay Sivov <nsivov () codeweavers ! com>
Date: 2020-10-30 13:50:47
Message-ID: 20201030135047.2929225-7-nsivov () codeweavers ! com
[Download RAW message or body]
Signed-off-by: Nikolay Sivov <nsivov@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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic