Commit fc88f4b3 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

quartz/tests: Check for IAMVideoAccelerator.

parent d3e74a72
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
#define COBJMACROS #define COBJMACROS
#include "dshow.h" #include "dshow.h"
#include "videoacc.h"
#include "wine/strmbase.h" #include "wine/strmbase.h"
#include "wine/test.h" #include "wine/test.h"
...@@ -89,6 +90,7 @@ static void test_interfaces(void) ...@@ -89,6 +90,7 @@ static void test_interfaces(void)
check_interface(filter, &IID_IVideoWindow, TRUE); check_interface(filter, &IID_IVideoWindow, TRUE);
check_interface(filter, &IID_IAMFilterMiscFlags, FALSE); check_interface(filter, &IID_IAMFilterMiscFlags, FALSE);
check_interface(filter, &IID_IAMVideoAccelerator, FALSE);
check_interface(filter, &IID_IBasicAudio, FALSE); check_interface(filter, &IID_IBasicAudio, FALSE);
check_interface(filter, &IID_IDispatch, FALSE); check_interface(filter, &IID_IDispatch, FALSE);
check_interface(filter, &IID_IOverlay, FALSE); check_interface(filter, &IID_IOverlay, FALSE);
...@@ -105,6 +107,7 @@ static void test_interfaces(void) ...@@ -105,6 +107,7 @@ static void test_interfaces(void)
todo_wine check_interface(pin, &IID_IQualityControl, TRUE); todo_wine check_interface(pin, &IID_IQualityControl, TRUE);
check_interface(pin, &IID_IUnknown, TRUE); check_interface(pin, &IID_IUnknown, TRUE);
check_interface(pin, &IID_IAMVideoAccelerator, FALSE);
check_interface(pin, &IID_IAsyncReader, FALSE); check_interface(pin, &IID_IAsyncReader, FALSE);
check_interface(pin, &IID_IMediaPosition, FALSE); check_interface(pin, &IID_IMediaPosition, FALSE);
check_interface(pin, &IID_IMediaSeeking, FALSE); check_interface(pin, &IID_IMediaSeeking, FALSE);
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#include "dshow.h" #include "dshow.h"
#include "d3d9.h" #include "d3d9.h"
#include "vmr9.h" #include "vmr9.h"
#include "videoacc.h"
#include "wine/strmbase.h" #include "wine/strmbase.h"
#include "wine/test.h" #include "wine/test.h"
...@@ -239,6 +240,7 @@ static void test_common_interfaces(IBaseFilter *filter) ...@@ -239,6 +240,7 @@ static void test_common_interfaces(IBaseFilter *filter)
check_interface(filter, &IID_IVMRFilterConfig, TRUE); check_interface(filter, &IID_IVMRFilterConfig, TRUE);
todo_wine check_interface(filter, &IID_IVMRMixerBitmap, 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_IBasicAudio, FALSE);
check_interface(filter, &IID_IDirectDrawVideo, FALSE); check_interface(filter, &IID_IDirectDrawVideo, FALSE);
check_interface(filter, &IID_IPersistPropertyBag, FALSE); check_interface(filter, &IID_IPersistPropertyBag, FALSE);
...@@ -255,6 +257,7 @@ static void test_common_interfaces(IBaseFilter *filter) ...@@ -255,6 +257,7 @@ static void test_common_interfaces(IBaseFilter *filter)
IBaseFilter_FindPin(filter, L"VMR Input0", &pin); 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_IMemInputPin, TRUE);
check_interface(pin, &IID_IOverlay, TRUE); check_interface(pin, &IID_IOverlay, TRUE);
check_interface(pin, &IID_IPin, TRUE); check_interface(pin, &IID_IPin, TRUE);
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
#include "qedit.h" #include "qedit.h"
#include "d3d9.h" #include "d3d9.h"
#include "vmr9.h" #include "vmr9.h"
#include "videoacc.h"
#include "wmcodecdsp.h" #include "wmcodecdsp.h"
#include "wine/strmbase.h" #include "wine/strmbase.h"
#include "wine/test.h" #include "wine/test.h"
...@@ -246,6 +247,7 @@ static void test_common_interfaces(IBaseFilter *filter) ...@@ -246,6 +247,7 @@ static void test_common_interfaces(IBaseFilter *filter)
check_interface(filter, &IID_IVMRFilterConfig9, TRUE); check_interface(filter, &IID_IVMRFilterConfig9, TRUE);
check_interface(filter, &IID_IVMRMixerBitmap9, TRUE); check_interface(filter, &IID_IVMRMixerBitmap9, TRUE);
check_interface(filter, &IID_IAMVideoAccelerator, FALSE);
check_interface(filter, &IID_IBasicAudio, FALSE); check_interface(filter, &IID_IBasicAudio, FALSE);
check_interface(filter, &IID_IDirectDrawVideo, FALSE); check_interface(filter, &IID_IDirectDrawVideo, FALSE);
check_interface(filter, &IID_IPersistPropertyBag, FALSE); check_interface(filter, &IID_IPersistPropertyBag, FALSE);
...@@ -262,6 +264,7 @@ static void test_common_interfaces(IBaseFilter *filter) ...@@ -262,6 +264,7 @@ static void test_common_interfaces(IBaseFilter *filter)
IBaseFilter_FindPin(filter, L"VMR Input0", &pin); 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_IMemInputPin, TRUE);
check_interface(pin, &IID_IOverlay, TRUE); check_interface(pin, &IID_IOverlay, TRUE);
check_interface(pin, &IID_IPin, TRUE); check_interface(pin, &IID_IPin, TRUE);
......
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