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 <yoann.lopes@theqtcompany.com>
This commit is contained in:
Andreas Holzammer
2016-03-09 11:28:00 +01:00
committed by Yoann Lopes
parent 3198bf4944
commit 77c9ab4a38
20 changed files with 100 additions and 29 deletions

View File

@@ -3,4 +3,4 @@ CONFIG += console
SOURCES += main.cpp
LIBS += -lstrmiids -ldmoguids -luuid -lmsdmo -lole32 -loleaut32
!wince: LIBS += -lstrmiids -ldmoguids -luuid -lmsdmo -lole32 -loleaut32

View File

@@ -32,8 +32,10 @@
****************************************************************************/
#include <dshow.h>
#ifndef _WIN32_WCE
#include <d3d9.h>
#include <vmr9.h>
#endif
int main(int, char**)
{