qcap/tests: Remove some unnecessary workarounds.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2019-04-12 00:20:51 -05:00 committed by Alexandre Julliard
parent 2017db7d0a
commit 5f71a3f125
1 changed files with 13 additions and 29 deletions

View File

@ -1,5 +1,5 @@
/*
* SmartTeeFilter tests
* Smart tee filter unit tests
*
* Copyright 2015 Damjan Jovanovic
*
@ -18,18 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "winuser.h"
#define COBJMACROS
#include <dshow.h>
#include <guiddef.h>
#include <devguid.h>
#include <stdio.h>
#include "wine/strmbase.h"
#include "dshow.h"
#include "wine/test.h"
static HANDLE event;
@ -2022,10 +2012,10 @@ end:
START_TEST(smartteefilter)
{
if (SUCCEEDED(CoInitialize(NULL)))
{
CoInitialize(NULL);
event = CreateEventW(NULL, FALSE, FALSE, NULL);
if (event) {
test_smart_tee_filter_aggregation();
test_smart_tee_filter();
@ -2036,11 +2026,5 @@ START_TEST(smartteefilter)
test_video_smart_tee_filter_auto_insertion(test_video_capture);
CloseHandle(event);
} else
skip("CreateEvent failed, error=%u\n", GetLastError());
CoUninitialize();
}
else
skip("CoInitialize failed\n");
}