strmbase/transform: Don't expose IMediaPosition from the filter.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
25c3bf9c10
commit
2a52c54f43
|
@ -73,7 +73,7 @@ static void test_interfaces(void)
|
|||
check_interface(filter, &IID_IBasicAudio, FALSE);
|
||||
check_interface(filter, &IID_IBasicVideo, FALSE);
|
||||
check_interface(filter, &IID_IKsPropertySet, FALSE);
|
||||
todo_wine check_interface(filter, &IID_IMediaPosition, FALSE);
|
||||
check_interface(filter, &IID_IMediaPosition, FALSE);
|
||||
check_interface(filter, &IID_IMediaSeeking, FALSE);
|
||||
check_interface(filter, &IID_IPin, FALSE);
|
||||
todo_wine check_interface(filter, &IID_IQualityControl, FALSE);
|
||||
|
|
|
@ -97,7 +97,7 @@ static void test_interfaces(void)
|
|||
check_interface(filter, &IID_IBasicAudio, FALSE);
|
||||
check_interface(filter, &IID_IBasicVideo, FALSE);
|
||||
check_interface(filter, &IID_IKsPropertySet, FALSE);
|
||||
todo_wine check_interface(filter, &IID_IMediaPosition, FALSE);
|
||||
check_interface(filter, &IID_IMediaPosition, FALSE);
|
||||
check_interface(filter, &IID_IMediaSeeking, FALSE);
|
||||
check_interface(filter, &IID_IPersistPropertyBag, FALSE);
|
||||
check_interface(filter, &IID_IPin, FALSE);
|
||||
|
|
|
@ -172,10 +172,6 @@ static HRESULT WINAPI TransformFilterImpl_QueryInterface(IBaseFilter * iface, RE
|
|||
IUnknown_AddRef((IUnknown*)*ppv);
|
||||
return S_OK;
|
||||
}
|
||||
else if (IsEqualIID(riid, &IID_IMediaPosition))
|
||||
{
|
||||
return IUnknown_QueryInterface(This->seekthru_unk, riid, ppv);
|
||||
}
|
||||
hr = BaseFilterImpl_QueryInterface(iface, riid, ppv);
|
||||
|
||||
if (FAILED(hr) && !IsEqualIID(riid, &IID_IPin) && !IsEqualIID(riid, &IID_IVideoWindow) &&
|
||||
|
|
Loading…
Reference in New Issue