strmbase: Forward IQualityControl on output pin to base filter.

This commit is contained in:
Maarten Lankhorst 2010-11-05 23:19:11 +01:00 committed by Alexandre Julliard
parent 0a4ee68168
commit 81763bf2ba
1 changed files with 3 additions and 2 deletions

View File

@ -359,9 +359,10 @@ HRESULT WINAPI BaseOutputPinImpl_QueryInterface(IPin * iface, REFIID riid, LPVOI
*ppv = iface;
else if (IsEqualIID(riid, &IID_IPin))
*ppv = iface;
else if (IsEqualIID(riid, &IID_IMediaSeeking))
else if (IsEqualIID(riid, &IID_IMediaSeeking) ||
IsEqualIID(riid, &IID_IQualityControl))
{
return IBaseFilter_QueryInterface(This->pin.pinInfo.pFilter, &IID_IMediaSeeking, ppv);
return IBaseFilter_QueryInterface(This->pin.pinInfo.pFilter, riid, ppv);
}
if (*ppv)