mfreadwrite: Clear STREAM_FLAG_SAMPLE_REQUESTED flag on MEEndOfStream event.
Signed-off-by: Derek Lesho <dlesho@codeweavers.com> Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e570c2fe59
commit
a2794b5eae
|
@ -727,6 +727,7 @@ static HRESULT source_reader_media_stream_state_handler(struct source_reader *re
|
|||
{
|
||||
case MEEndOfStream:
|
||||
stream->state = STREAM_STATE_EOS;
|
||||
stream->flags &= ~STREAM_FLAG_SAMPLE_REQUESTED;
|
||||
|
||||
if (stream->decoder && SUCCEEDED(IMFTransform_ProcessMessage(stream->decoder,
|
||||
MFT_MESSAGE_COMMAND_DRAIN, 0)))
|
||||
|
|
Loading…
Reference in New Issue