Commit 486f89b9 authored by Akihiro Sagawa's avatar Akihiro Sagawa Committed by Alexandre Julliard

winegstreamer: Reject unexpected formats on init.

parent 953af3af
......@@ -2152,7 +2152,7 @@ static void test_no_acceptable_type(void)
ok(hr == S_OK, "Got hr %#lx.\n", hr);
hr = IFilterGraph2_ConnectDirect(graph, source, sink, NULL);
todo_wine ok(hr == VFW_E_NO_ACCEPTABLE_TYPES, "Got hr %#lx.\n", hr);
ok(hr == VFW_E_NO_ACCEPTABLE_TYPES, "Got hr %#lx.\n", hr);
IPin_Release(source);
IPin_Release(sink);
......
......@@ -2387,7 +2387,11 @@ static BOOL mpeg_splitter_filter_init_gst(struct parser *filter)
if (!create_pin(filter, wg_parser_get_stream(parser, i), L"Audio"))
return FALSE;
}
else FIXME("unexpected format %u\n", fmt.major_type);
else
{
TRACE("unexpected format %u\n", fmt.major_type);
return FALSE;
}
}
return TRUE;
......
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