From 60f325d967a8160931e2f641fe1a06ed128f1731 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 30 Mar 2007 00:01:23 -0700 Subject: [PATCH] quartz: Add filters using their names. --- dlls/quartz/filtergraph.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/quartz/filtergraph.c b/dlls/quartz/filtergraph.c index 5e1061ecbc1..5964502f9c0 100644 --- a/dlls/quartz/filtergraph.c +++ b/dlls/quartz/filtergraph.c @@ -774,7 +774,7 @@ static HRESULT WINAPI GraphBuilder_Connect(IGraphBuilder *iface, goto error; } - hr = IGraphBuilder_AddFilter(iface, pfilter, NULL); + hr = IGraphBuilder_AddFilter(iface, pfilter, V_UNION(&var, bstrVal)); if (FAILED(hr)) { ERR("Unable to add filter (%x)\n", hr); IBaseFilter_Release(pfilter); @@ -923,7 +923,7 @@ static HRESULT WINAPI GraphBuilder_Render(IGraphBuilder *iface, goto error; } - hr = IGraphBuilder_AddFilter(iface, pfilter, NULL); + hr = IGraphBuilder_AddFilter(iface, pfilter, V_UNION(&var, bstrVal)); if (FAILED(hr)) { ERR("Unable to add filter (%x)\n", hr); IBaseFilter_Release(pfilter); @@ -1056,7 +1056,7 @@ static HRESULT WINAPI GraphBuilder_RenderFile(IGraphBuilder *iface, continue; } - hr = IGraphBuilder_AddFilter(iface, psplitter, NULL); + hr = IGraphBuilder_AddFilter(iface, psplitter, V_UNION(&var, bstrVal)); if (FAILED(hr)) { ERR("Unable add filter (%x)\n", hr); IBaseFilter_Release(psplitter);