mf/topoloader: Unstub IMFTopologyLoader::Load.

Signed-off-by: Derek Lesho <dlesho@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Derek Lesho 2020-11-30 15:25:15 +03:00 committed by Alexandre Julliard
parent d61e9f7535
commit 7c9e6a1c96
2 changed files with 3 additions and 7 deletions

View File

@ -1735,7 +1735,6 @@ static void test_topology_loader(void)
MF_CONNECT_DIRECT,
MF_E_INVALIDMEDIATYPE,
LOADER_TODO,
},
{
@ -1766,7 +1765,7 @@ static void test_topology_loader(void)
MF_CONNECT_ALLOW_CONVERTER,
S_OK,
LOADER_EXPECTED_CONVERTER,
LOADER_EXPECTED_CONVERTER | LOADER_TODO,
},
{
@ -1794,7 +1793,6 @@ static void test_topology_loader(void)
MF_CONNECT_DIRECT,
MF_E_INVALIDMEDIATYPE,
LOADER_TODO,
},
{
@ -1850,7 +1848,7 @@ static void test_topology_loader(void)
MF_CONNECT_ALLOW_DECODER,
S_OK,
LOADER_EXPECTED_DECODER,
LOADER_EXPECTED_DECODER | LOADER_TODO,
},
};

View File

@ -2429,11 +2429,9 @@ static HRESULT WINAPI topology_loader_Load(IMFTopoLoader *iface, IMFTopology *in
break;
}
/* For now return original topology. */
*ret_topology = output_topology;
return IMFTopology_CloneFrom(output_topology, input_topology);
return hr;
}
static const IMFTopoLoaderVtbl topologyloadervtbl =