mfplat: Use MFASYNC_CALLBACK_QUEUE_IO for byte stream async requests.

This commit is contained in:
Rémi Bernon 2023-04-27 17:49:08 +02:00 committed by Alexandre Julliard
parent 94cd658446
commit efbf28afa5
2 changed files with 3 additions and 3 deletions

View file

@ -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:

View file

@ -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);