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:
parent
1875620466
commit
10bbe1111b
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue