path: root/config.tests
diff options
authorAndreas Holzammer <>2016-03-09 11:28:00 +0100
committerYoann Lopes <>2016-03-09 12:09:49 +0000
commit77c9ab4a3871110c6fb569c4e7b17181867c17ad (patch)
treed4a7513b5ed2db2a1ce6a60dde84b27974037b4c /config.tests
parent3198bf4944edd8f25996c2b4c4516f606165af59 (diff)
Port DirectShow backend to wince
dshow.h needs to be included before Qt headers as they include the windows header with NOMINMAX macro set. DirectShow header needs min/max macro definition to compile. The min/max macro then conflicts with QDateTime header, hence needs to be undefined again for some occasions. Windows Embedded Compact then defines INTERFACE as macro, which conflicts. Windows Embedded Compact does not support audio end point selection. Feature has been disabled for this platform. Windows Embedded Compact does not support setting meta data, control has been disabled. Windows Embedded Compact does not support VMR, feature was disabled. Direct Show renders always top to buttom. Change-Id: Id17700835e2105fb127b12e3448bea16e3b52546 Reviewed-by: Yoann Lopes <>
Diffstat (limited to 'config.tests')
2 files changed, 3 insertions, 1 deletions
diff --git a/config.tests/directshow/ b/config.tests/directshow/
index 6493e54ab..6dfc54a01 100644
--- a/config.tests/directshow/
+++ b/config.tests/directshow/
@@ -3,4 +3,4 @@ CONFIG += console
SOURCES += main.cpp
-LIBS += -lstrmiids -ldmoguids -luuid -lmsdmo -lole32 -loleaut32
+!wince: LIBS += -lstrmiids -ldmoguids -luuid -lmsdmo -lole32 -loleaut32
diff --git a/config.tests/directshow/main.cpp b/config.tests/directshow/main.cpp
index d5e4db589..15ff3b9fc 100644
--- a/config.tests/directshow/main.cpp
+++ b/config.tests/directshow/main.cpp
@@ -32,8 +32,10 @@
#include <dshow.h>
+#ifndef _WIN32_WCE
#include <d3d9.h>
#include <vmr9.h>
int main(int, char**)