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:
Nikolay Sivov 2019-04-01 13:24:05 +03:00 committed by Alexandre Julliard
parent 0694d0f321
commit e92bf051f5
1 changed files with 4 additions and 0 deletions

View File

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