quartz: Use the proper CLSID when creating the IFilterMapper2 interface.
This commit is contained in:
parent
92aaba0d6f
commit
3f089b4424
|
@ -4517,7 +4517,7 @@ HRESULT FilterGraph_create(IUnknown *pUnkOuter, LPVOID *ppObj)
|
|||
InitializeCriticalSection(&fimpl->cs);
|
||||
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)) {
|
||||
ERR("Unable to create filter mapper (%x)\n", hr);
|
||||
return hr;
|
||||
|
|
Loading…
Reference in New Issue