Chris Robinson : quartz: Add filters using their names.
Module: wine Branch: master Commit: 60f325d967a8160931e2f641fe1a06ed128f1731 URL: http://source.winehq.org/git/wine.git/?a=commit;h=60f325d967a8160931e2f641fe... Author: Chris Robinson <chris.kcat(a)gmail.com> Date: Fri Mar 30 00:01:23 2007 -0700 quartz: Add filters using their names. --- dlls/quartz/filtergraph.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/quartz/filtergraph.c b/dlls/quartz/filtergraph.c index 5e1061e..5964502 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);
participants (1)
-
Alexandre Julliard