mfreadwrite: Wake also on new streams.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
56bb596711
commit
279f6dbd0c
|
@ -253,6 +253,9 @@ static HRESULT source_reader_new_stream_handler(struct source_reader *reader, IM
|
||||||
{
|
{
|
||||||
WARN("Failed to subscribe to stream events, hr %#x.\n", hr);
|
WARN("Failed to subscribe to stream events, hr %#x.\n", hr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Wake so any waiting ReadSample() calls have a chance to make requests. */
|
||||||
|
WakeAllConditionVariable(&reader->streams[i].sample_event);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue