mfreadwrite: Add a trace for async reader mode.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
0694d0f321
commit
e92bf051f5
|
@ -680,8 +680,12 @@ static HRESULT create_source_reader_from_source(IMFMediaSource *source, IMFAttri
|
||||||
}
|
}
|
||||||
|
|
||||||
if (attributes)
|
if (attributes)
|
||||||
|
{
|
||||||
IMFAttributes_GetUnknown(attributes, &MF_SOURCE_READER_ASYNC_CALLBACK, &IID_IMFSourceReaderCallback,
|
IMFAttributes_GetUnknown(attributes, &MF_SOURCE_READER_ASYNC_CALLBACK, &IID_IMFSourceReaderCallback,
|
||||||
(void **)&object->async_callback);
|
(void **)&object->async_callback);
|
||||||
|
if (object->async_callback)
|
||||||
|
TRACE("Using async callback %p.\n", object->async_callback);
|
||||||
|
}
|
||||||
|
|
||||||
hr = IMFSourceReader_QueryInterface(&object->IMFSourceReader_iface, riid, out);
|
hr = IMFSourceReader_QueryInterface(&object->IMFSourceReader_iface, riid, out);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue