quartz: Pass correct interface to IBaseFilter::JoinFilterGraph in function FilterGraph2_AddFilter.

This commit is contained in:
Michael Müller 2013-08-31 07:04:05 +02:00 committed by Alexandre Julliard
parent 96c6ad4aa7
commit 2fcfde0f62
1 changed files with 1 additions and 1 deletions

View File

@ -450,7 +450,7 @@ static HRESULT WINAPI FilterGraph2_AddFilter(IFilterGraph2 *iface, IBaseFilter *
This->filterCapacity = newCapacity;
}
hr = IBaseFilter_JoinFilterGraph(pFilter, (IFilterGraph *)This, wszFilterName);
hr = IBaseFilter_JoinFilterGraph(pFilter, (IFilterGraph *)&This->IFilterGraph2_iface, wszFilterName);
if (SUCCEEDED(hr))
{