mfreadwrite/reader: Enable DXGI device manager path.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
482f977b34
commit
016fe6af18
|
@ -1643,12 +1643,6 @@ static HRESULT source_reader_setup_sample_allocator(struct source_reader *reader
|
||||||
if (!(reader->flags & SOURCE_READER_HAS_DEVICE_MANAGER))
|
if (!(reader->flags & SOURCE_READER_HAS_DEVICE_MANAGER))
|
||||||
return S_OK;
|
return S_OK;
|
||||||
|
|
||||||
if (reader->flags & SOURCE_READER_DXGI_DEVICE_MANAGER)
|
|
||||||
{
|
|
||||||
FIXME("DXGI device manager is not supported.\n");
|
|
||||||
return S_OK;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!stream->allocator)
|
if (!stream->allocator)
|
||||||
{
|
{
|
||||||
if (FAILED(hr = MFCreateVideoSampleAllocatorEx(&IID_IMFVideoSampleAllocatorEx, (void **)&stream->allocator)))
|
if (FAILED(hr = MFCreateVideoSampleAllocatorEx(&IID_IMFVideoSampleAllocatorEx, (void **)&stream->allocator)))
|
||||||
|
|
Loading…
Reference in New Issue