quartz: Fix return value in IFilterGraph_FindFilterByName.
This commit is contained in:
parent
646eefaa47
commit
31aab42934
|
@ -495,7 +495,7 @@ static HRESULT WINAPI GraphBuilder_FindFilterByName(IGraphBuilder *iface,
|
|||
}
|
||||
}
|
||||
|
||||
return E_FAIL; /* FIXME: check this error code */
|
||||
return VFW_E_NOT_FOUND;
|
||||
}
|
||||
|
||||
/* NOTE: despite the implication, it doesn't matter which
|
||||
|
|
|
@ -138,9 +138,7 @@ static void test_graph_builder(void)
|
|||
ok(dir == PINDIR_INPUT, "pin has wrong direction\n");
|
||||
|
||||
hr = IGraphBuilder_FindFilterByName(pgraph, fooBarW, &pF2);
|
||||
todo_wine {
|
||||
ok(hr == VFW_E_NOT_FOUND, "IGraphBuilder_FindFilterByName returned %x\n", hr);
|
||||
}
|
||||
ok(hr == VFW_E_NOT_FOUND, "IGraphBuilder_FindFilterByName returned %x\n", hr);
|
||||
ok(pF2 == NULL, "IGraphBuilder_FindFilterByName returned %p\n", pF2);
|
||||
hr = IGraphBuilder_FindFilterByName(pgraph, testFilterW, &pF2);
|
||||
ok(hr == S_OK, "IGraphBuilder_FindFilterByName returned %x\n", hr);
|
||||
|
|
Loading…
Reference in New Issue