Commit f991daf1 authored by Maarten Lankhorst's avatar Maarten Lankhorst Committed by Alexandre Julliard

quartz: Skip filtergraph tests when filtergraph cannot be created.

parent df16d37b
......@@ -1872,7 +1872,14 @@ static void test_render_filter_priority(void)
START_TEST(filtergraph)
{
HRESULT hr;
CoInitializeEx(NULL, COINIT_MULTITHREADED);
hr = CoCreateInstance(&CLSID_FilterGraph, NULL, CLSCTX_INPROC_SERVER,
&IID_IGraphBuilder, (LPVOID*)&pgraph);
if (FAILED(hr)) {
skip("Creating filtergraph returned %08x, skipping tests\n", hr);
return;
}
test_render_run(avifile);
test_render_run(mpegfile);
test_graph_builder();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment