Nikolay Sivov : mf/evr: Accept samples when prerolling.
Module: wine Branch: master Commit: 8c9988d8d45bf48f5b40ef76856a08a24ce872af URL: https://source.winehq.org/git/wine.git/?a=commit;h=8c9988d8d45bf48f5b40ef768... Author: Nikolay Sivov <nsivov(a)codeweavers.com> Date: Mon Nov 9 15:02:41 2020 +0300 mf/evr: Accept samples when prerolling. Signed-off-by: Nikolay Sivov <nsivov(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/mf/evr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/mf/evr.c b/dlls/mf/evr.c index f5bbfffc4a5..486958f5f79 100644 --- a/dlls/mf/evr.c +++ b/dlls/mf/evr.c @@ -350,7 +350,7 @@ static HRESULT WINAPI video_stream_sink_ProcessSample(IMFStreamSink *iface, IMFS { WARN("No sample timestamp, hr %#x.\n", hr); } - else if (stream->parent->state == EVR_STATE_RUNNING) + else if (stream->parent->state == EVR_STATE_RUNNING || stream->flags & EVR_STREAM_PREROLLING) { if (SUCCEEDED(IMFTransform_ProcessInput(stream->parent->mixer, stream->id, sample, 0))) IMFVideoPresenter_ProcessMessage(stream->parent->presenter, MFVP_MESSAGE_PROCESSINPUTNOTIFY, 0);
participants (1)
-
Alexandre Julliard