Commit 80fa0b93 authored by Gijs Vermeulen's avatar Gijs Vermeulen Committed by Alexandre Julliard

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

parent f708161a
......@@ -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);
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment