mfreadwrite: Wake waiting threads on stream states changes.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2019-04-30 13:15:42 +03:00 committed by Alexandre Julliard
parent 1875620466
commit 10bbe1111b
1 changed files with 3 additions and 0 deletions

View File

@ -418,6 +418,9 @@ static HRESULT source_reader_media_stream_state_handler(struct source_reader *re
}
LeaveCriticalSection(&reader->streams[i].cs);
WakeAllConditionVariable(&reader->streams[i].sample_event);
break;
}
}