mirror of
git://source.winehq.org/git/wine.git
synced 2024-07-21 11:44:10 +00:00
mfplat: Use MFASYNC_CALLBACK_QUEUE_IO for byte stream async requests.
This commit is contained in:
parent
94cd658446
commit
efbf28afa5
|
@ -3811,7 +3811,7 @@ static HRESULT bytestream_create_io_request(struct bytestream *stream, enum asyn
|
|||
&stream->write_callback, NULL, &request)))
|
||||
goto failed;
|
||||
|
||||
RtwqPutWorkItem(MFASYNC_CALLBACK_QUEUE_STANDARD, 0, request);
|
||||
RtwqPutWorkItem(MFASYNC_CALLBACK_QUEUE_IO, 0, request);
|
||||
IRtwqAsyncResult_Release(request);
|
||||
|
||||
failed:
|
||||
|
|
|
@ -2501,8 +2501,8 @@ static void test_MFCreateMFByteStreamOnStream(void)
|
|||
hr = MFPutWorkItem(MFASYNC_CALLBACK_QUEUE_STANDARD, &test_callback->IMFAsyncCallback_iface, NULL);
|
||||
ok(hr == S_OK, "got %#lx\n", hr);
|
||||
res = wait_async_callback_result(&test_callback->IMFAsyncCallback_iface, 100, &result);
|
||||
todo_wine ok(res == 0, "got %#lx\n", res);
|
||||
if (res == 0) IMFAsyncResult_Release(result);
|
||||
ok(res == 0, "got %#lx\n", res);
|
||||
IMFAsyncResult_Release(result);
|
||||
|
||||
test_stream_complete_read(stream);
|
||||
res = wait_async_callback_result(&read_callback->IMFAsyncCallback_iface, 1000, &result);
|
||||
|
|
Loading…
Reference in a new issue