Signed-off-by: Sergio Gómez Del Real sdelreal@codeweavers.com --- dlls/mf/tests/mf.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/dlls/mf/tests/mf.c b/dlls/mf/tests/mf.c index dfbd928f60..ca825ac9a7 100644 --- a/dlls/mf/tests/mf.c +++ b/dlls/mf/tests/mf.c @@ -1246,6 +1246,7 @@ static void test_topology_loader(void) IMFPresentationDescriptor *pd; IMFSourceResolver *resolver; IMFActivate *sink_activate; + IMFStreamSink *stream_sink; unsigned int count, value; IMFMediaType *media_type; IMFStreamDescriptor *sd; @@ -1358,7 +1359,10 @@ todo_wine hr = IMFActivate_ActivateObject(sink_activate, &IID_IMFMediaSink, (void **)&sink); ok(hr == S_OK, "Failed to activate, hr %#x.\n", hr);
- hr = IMFTopologyNode_SetObject(sink_node, (IUnknown *)sink); + hr = IMFMediaSink_GetStreamSinkByIndex(sink, 0, &stream_sink); + ok(hr == S_OK, "Failed to get stream sink, hr %#x.\n", hr); + + hr = IMFTopologyNode_SetObject(sink_node, (IUnknown *)stream_sink); ok(hr == S_OK, "Failed to set object, hr %#x.\n", hr);
hr = IMFTopology_GetCount(topology, &count);
Hi,
While running your changed tests, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check?
Full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=67902
Your paranoid android.
=== debiant (32 bit report) ===
mf: mf.c:1374: Test succeeded inside todo block: Failed to resolve topology, hr 0.
=== debiant (32 bit French report) ===
mf: mf.c:1374: Test succeeded inside todo block: Failed to resolve topology, hr 0.
=== debiant (32 bit Japanese:Japan report) ===
mf: mf.c:1374: Test succeeded inside todo block: Failed to resolve topology, hr 0.
=== debiant (32 bit Chinese:China report) ===
mf: mf.c:1374: Test succeeded inside todo block: Failed to resolve topology, hr 0.
=== debiant (32 bit WoW report) ===
mf: mf.c:1374: Test succeeded inside todo block: Failed to resolve topology, hr 0.
=== debiant (64 bit WoW report) ===
mf: mf.c:1374: Test succeeded inside todo block: Failed to resolve topology, hr 0.