mf/evr: Notify presenter on new input.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
41fe1ac058
commit
3641c80244
|
@ -352,7 +352,8 @@ static HRESULT WINAPI video_stream_sink_ProcessSample(IMFStreamSink *iface, IMFS
|
||||||
}
|
}
|
||||||
else if (stream->parent->state == EVR_STATE_RUNNING)
|
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)
|
if (stream->flags & EVR_STREAM_PREROLLING)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue