quartz/vmr9: Don't expose IVMRSurfaceAllocatorNotify9 from the VMR7.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
44386de52a
commit
ab99701a79
|
@ -300,7 +300,7 @@ static void test_interfaces(void)
|
||||||
check_interface(filter, &IID_IVMRMixerControl, FALSE);
|
check_interface(filter, &IID_IVMRMixerControl, FALSE);
|
||||||
todo_wine check_interface(filter, &IID_IVMRMonitorConfig, FALSE);
|
todo_wine check_interface(filter, &IID_IVMRMonitorConfig, FALSE);
|
||||||
todo_wine check_interface(filter, &IID_IVMRMonitorConfig9, FALSE);
|
todo_wine check_interface(filter, &IID_IVMRMonitorConfig9, FALSE);
|
||||||
todo_wine check_interface(filter, &IID_IVMRSurfaceAllocatorNotify9, FALSE);
|
check_interface(filter, &IID_IVMRSurfaceAllocatorNotify9, FALSE);
|
||||||
check_interface(filter, &IID_IVMRWindowlessControl, FALSE);
|
check_interface(filter, &IID_IVMRWindowlessControl, FALSE);
|
||||||
check_interface(filter, &IID_IVMRWindowlessControl9, FALSE);
|
check_interface(filter, &IID_IVMRWindowlessControl9, FALSE);
|
||||||
|
|
||||||
|
|
|
@ -629,7 +629,8 @@ static HRESULT vmr_query_interface(struct strmbase_renderer *iface, REFIID iid,
|
||||||
else if (IsEqualGUID(iid, &IID_IVMRSurfaceAllocatorNotify)
|
else if (IsEqualGUID(iid, &IID_IVMRSurfaceAllocatorNotify)
|
||||||
&& filter->mode == (VMR9Mode)VMRMode_Renderless && !is_vmr9(filter))
|
&& filter->mode == (VMR9Mode)VMRMode_Renderless && !is_vmr9(filter))
|
||||||
*out = &filter->IVMRSurfaceAllocatorNotify_iface;
|
*out = &filter->IVMRSurfaceAllocatorNotify_iface;
|
||||||
else if (IsEqualGUID(iid, &IID_IVMRSurfaceAllocatorNotify9) && filter->mode == VMR9Mode_Renderless)
|
else if (IsEqualGUID(iid, &IID_IVMRSurfaceAllocatorNotify9)
|
||||||
|
&& filter->mode == VMR9Mode_Renderless && is_vmr9(filter))
|
||||||
*out = &filter->IVMRSurfaceAllocatorNotify9_iface;
|
*out = &filter->IVMRSurfaceAllocatorNotify9_iface;
|
||||||
else if (IsEqualGUID(iid, &IID_IVMRWindowlessControl) && filter->mode == (VMR9Mode)VMRMode_Windowless)
|
else if (IsEqualGUID(iid, &IID_IVMRWindowlessControl) && filter->mode == (VMR9Mode)VMRMode_Windowless)
|
||||||
*out = &filter->IVMRWindowlessControl_iface;
|
*out = &filter->IVMRWindowlessControl_iface;
|
||||||
|
|
Loading…
Reference in New Issue