quartz/tests: Check for IAMVideoAccelerator.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2022-04-13 17:02:02 -05:00 committed by Alexandre Julliard
parent d3e74a7270
commit fc88f4b387
3 changed files with 9 additions and 0 deletions

View File

@ -20,6 +20,7 @@
#define COBJMACROS
#include "dshow.h"
#include "videoacc.h"
#include "wine/strmbase.h"
#include "wine/test.h"
@ -89,6 +90,7 @@ static void test_interfaces(void)
check_interface(filter, &IID_IVideoWindow, TRUE);
check_interface(filter, &IID_IAMFilterMiscFlags, FALSE);
check_interface(filter, &IID_IAMVideoAccelerator, FALSE);
check_interface(filter, &IID_IBasicAudio, FALSE);
check_interface(filter, &IID_IDispatch, FALSE);
check_interface(filter, &IID_IOverlay, FALSE);
@ -105,6 +107,7 @@ static void test_interfaces(void)
todo_wine check_interface(pin, &IID_IQualityControl, TRUE);
check_interface(pin, &IID_IUnknown, TRUE);
check_interface(pin, &IID_IAMVideoAccelerator, FALSE);
check_interface(pin, &IID_IAsyncReader, FALSE);
check_interface(pin, &IID_IMediaPosition, FALSE);
check_interface(pin, &IID_IMediaSeeking, FALSE);

View File

@ -23,6 +23,7 @@
#include "dshow.h"
#include "d3d9.h"
#include "vmr9.h"
#include "videoacc.h"
#include "wine/strmbase.h"
#include "wine/test.h"
@ -239,6 +240,7 @@ static void test_common_interfaces(IBaseFilter *filter)
check_interface(filter, &IID_IVMRFilterConfig, TRUE);
todo_wine check_interface(filter, &IID_IVMRMixerBitmap, TRUE);
check_interface(filter, &IID_IAMVideoAccelerator, FALSE);
check_interface(filter, &IID_IBasicAudio, FALSE);
check_interface(filter, &IID_IDirectDrawVideo, FALSE);
check_interface(filter, &IID_IPersistPropertyBag, FALSE);
@ -255,6 +257,7 @@ static void test_common_interfaces(IBaseFilter *filter)
IBaseFilter_FindPin(filter, L"VMR Input0", &pin);
todo_wine check_interface(pin, &IID_IAMVideoAccelerator, TRUE);
check_interface(pin, &IID_IMemInputPin, TRUE);
check_interface(pin, &IID_IOverlay, TRUE);
check_interface(pin, &IID_IPin, TRUE);

View File

@ -27,6 +27,7 @@
#include "qedit.h"
#include "d3d9.h"
#include "vmr9.h"
#include "videoacc.h"
#include "wmcodecdsp.h"
#include "wine/strmbase.h"
#include "wine/test.h"
@ -246,6 +247,7 @@ static void test_common_interfaces(IBaseFilter *filter)
check_interface(filter, &IID_IVMRFilterConfig9, TRUE);
check_interface(filter, &IID_IVMRMixerBitmap9, TRUE);
check_interface(filter, &IID_IAMVideoAccelerator, FALSE);
check_interface(filter, &IID_IBasicAudio, FALSE);
check_interface(filter, &IID_IDirectDrawVideo, FALSE);
check_interface(filter, &IID_IPersistPropertyBag, FALSE);
@ -262,6 +264,7 @@ static void test_common_interfaces(IBaseFilter *filter)
IBaseFilter_FindPin(filter, L"VMR Input0", &pin);
todo_wine check_interface(pin, &IID_IAMVideoAccelerator, TRUE);
check_interface(pin, &IID_IMemInputPin, TRUE);
check_interface(pin, &IID_IOverlay, TRUE);
check_interface(pin, &IID_IPin, TRUE);