qedit: Use "Source" as the name of the source filter.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com> Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7a1a93a70a
commit
ac15cc7058
|
@ -535,7 +535,7 @@ static HRESULT WINAPI MediaDet_put_Filename(IMediaDet* iface, BSTR newVal)
|
|||
if (FAILED(hr))
|
||||
return hr;
|
||||
|
||||
if (FAILED(hr = IGraphBuilder_AddSourceFilter(gb, newVal, L"Reader", &bf)))
|
||||
if (FAILED(hr = IGraphBuilder_AddSourceFilter(gb, newVal, L"Source", &bf)))
|
||||
{
|
||||
IGraphBuilder_Release(gb);
|
||||
return hr;
|
||||
|
|
|
@ -473,7 +473,7 @@ static void test_mediadet(void)
|
|||
|
||||
hr = IBaseFilter_QueryFilterInfo(filter, &filter_info);
|
||||
ok(hr == S_OK, "Got hr %#x.\n", hr);
|
||||
todo_wine ok(!wcscmp(filter_info.achName, L"Source"), "Got name %s.\n", debugstr_w(filter_info.achName));
|
||||
ok(!wcscmp(filter_info.achName, L"Source"), "Got name %s.\n", debugstr_w(filter_info.achName));
|
||||
IFilterGraph_Release(filter_info.pGraph);
|
||||
IBaseFilter_Release(filter);
|
||||
|
||||
|
|
Loading…
Reference in New Issue