quartz/vmr9: Don't expose IVMRFilterConfig9 from the VMR7.
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:
parent
f6d9908e48
commit
08166d7a2d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue