quartz/vmr9: Don't expose IVMRFilterConfig from the VMR9.

Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Gijs Vermeulen 2020-10-26 15:37:22 +01:00 committed by Alexandre Julliard
parent f708161a47
commit 80fa0b93a6
2 changed files with 2 additions and 2 deletions

View file

@ -254,7 +254,7 @@ static void test_common_interfaces(IBaseFilter *filter)
check_interface(filter, &IID_IReferenceClock, FALSE);
check_interface(filter, &IID_IVMRAspectRatioControl, FALSE);
check_interface(filter, &IID_IVMRDeinterlaceControl, FALSE);
todo_wine check_interface(filter, &IID_IVMRFilterConfig, FALSE);
check_interface(filter, &IID_IVMRFilterConfig, FALSE);
check_interface(filter, &IID_IVMRMixerBitmap, FALSE);
check_interface(filter, &IID_IVMRMixerControl, FALSE);
todo_wine check_interface(filter, &IID_IVMRMonitorConfig, FALSE);

View file

@ -603,7 +603,7 @@ static HRESULT vmr_query_interface(struct strmbase_renderer *iface, REFIID iid,
*out = &filter->IAMCertifiedOutputProtection_iface;
else if (IsEqualGUID(iid, &IID_IAMFilterMiscFlags))
*out = &filter->IAMFilterMiscFlags_iface;
else if (IsEqualGUID(iid, &IID_IVMRFilterConfig))
else if (IsEqualGUID(iid, &IID_IVMRFilterConfig) && !is_vmr9(filter))
*out = &filter->IVMRFilterConfig_iface;
else if (IsEqualGUID(iid, &IID_IVMRFilterConfig9) && is_vmr9(filter))
*out = &filter->IVMRFilterConfig9_iface;