Commit 3f089b44 authored by Chris Robinson's avatar Chris Robinson Committed by Alexandre Julliard

quartz: Use the proper CLSID when creating the IFilterMapper2 interface.

parent 92aaba0d
...@@ -4517,7 +4517,7 @@ HRESULT FilterGraph_create(IUnknown *pUnkOuter, LPVOID *ppObj) ...@@ -4517,7 +4517,7 @@ HRESULT FilterGraph_create(IUnknown *pUnkOuter, LPVOID *ppObj)
InitializeCriticalSection(&fimpl->cs); InitializeCriticalSection(&fimpl->cs);
fimpl->nItfCacheEntries = 0; fimpl->nItfCacheEntries = 0;
hr = CoCreateInstance(&CLSID_FilterMapper, NULL, CLSCTX_INPROC_SERVER, &IID_IFilterMapper2, (LPVOID*)&fimpl->pFilterMapper2); hr = CoCreateInstance(&CLSID_FilterMapper2, NULL, CLSCTX_INPROC_SERVER, &IID_IFilterMapper2, (LPVOID*)&fimpl->pFilterMapper2);
if (FAILED(hr)) { if (FAILED(hr)) {
ERR("Unable to create filter mapper (%x)\n", hr); ERR("Unable to create filter mapper (%x)\n", hr);
return hr; return hr;
......
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