Commit 08166d7a authored by Gijs Vermeulen's avatar Gijs Vermeulen Committed by Alexandre Julliard

quartz/vmr9: Don't expose IVMRFilterConfig9 from the VMR7.

parent f6d9908e
......@@ -253,7 +253,7 @@ static void test_interfaces(void)
check_interface(filter, &IID_IReferenceClock, FALSE);
check_interface(filter, &IID_IVMRAspectRatioControl9, FALSE);
check_interface(filter, &IID_IVMRDeinterlaceControl9, FALSE);
todo_wine check_interface(filter, &IID_IVMRFilterConfig9, FALSE);
check_interface(filter, &IID_IVMRFilterConfig9, FALSE);
check_interface(filter, &IID_IVMRMixerBitmap9, FALSE);
check_interface(filter, &IID_IVMRMixerControl, FALSE);
check_interface(filter, &IID_IVMRMixerControl9, FALSE);
......
......@@ -605,7 +605,7 @@ static HRESULT vmr_query_interface(struct strmbase_renderer *iface, REFIID iid,
*out = &filter->IAMFilterMiscFlags_iface;
else if (IsEqualGUID(iid, &IID_IVMRFilterConfig))
*out = &filter->IVMRFilterConfig_iface;
else if (IsEqualGUID(iid, &IID_IVMRFilterConfig9))
else if (IsEqualGUID(iid, &IID_IVMRFilterConfig9) && is_vmr9(filter))
*out = &filter->IVMRFilterConfig9_iface;
else if (IsEqualGUID(iid, &IID_IVMRMixerBitmap9) && is_vmr9(filter))
*out = &filter->IVMRMixerBitmap9_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