Commit efbf28af authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

mfplat: Use MFASYNC_CALLBACK_QUEUE_IO for byte stream async requests.

parent 94cd6584
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment