Commit a6d1ee86 authored by Gijs Vermeulen's avatar Gijs Vermeulen Committed by Alexandre Julliard

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

parent 80fa0b93
......@@ -257,7 +257,7 @@ static void test_common_interfaces(IBaseFilter *filter)
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);
check_interface(filter, &IID_IVMRMonitorConfig, FALSE);
check_interface(filter, &IID_IVMRSurfaceAllocatorNotify, FALSE);
check_interface(filter, &IID_IVMRWindowlessControl, FALSE);
......
......@@ -611,7 +611,7 @@ static HRESULT vmr_query_interface(struct strmbase_renderer *iface, REFIID iid,
*out = &filter->IVMRMixerBitmap9_iface;
else if (IsEqualGUID(iid, &IID_IVMRMixerControl9) && is_vmr9(filter) && filter->stream_count)
*out = &filter->IVMRMixerControl9_iface;
else if (IsEqualGUID(iid, &IID_IVMRMonitorConfig))
else if (IsEqualGUID(iid, &IID_IVMRMonitorConfig) && !is_vmr9(filter))
*out = &filter->IVMRMonitorConfig_iface;
else if (IsEqualGUID(iid, &IID_IVMRMonitorConfig9)
&& filter->mode != VMR9Mode_Renderless && is_vmr9(filter))
......
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