mfreadwrite: Use default queue so submit flush commands.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
10c6120910
commit
e81d2cf5bc
|
@ -1715,8 +1715,7 @@ static HRESULT source_reader_flush_async(struct source_reader *reader, unsigned
|
||||||
|
|
||||||
command->stream_index = stream_index;
|
command->stream_index = stream_index;
|
||||||
|
|
||||||
hr = MFPutWorkItem(MFASYNC_CALLBACK_QUEUE_MULTITHREADED, &reader->async_commands_callback,
|
hr = MFPutWorkItem(MFASYNC_CALLBACK_QUEUE_STANDARD, &reader->async_commands_callback, &command->IUnknown_iface);
|
||||||
&command->IUnknown_iface);
|
|
||||||
IUnknown_Release(&command->IUnknown_iface);
|
IUnknown_Release(&command->IUnknown_iface);
|
||||||
|
|
||||||
return hr;
|
return hr;
|
||||||
|
|
Loading…
Reference in New Issue