2018-09-19 20:39:07 +02:00
|
|
|
From 296025ffe040546d0b5e1f8736eaeda9f855cf6e Mon Sep 17 00:00:00 2001
|
2016-09-19 22:18:45 +02:00
|
|
|
From: Martchus <martchus@gmx.net>
|
|
|
|
Date: Sun, 25 Sep 2016 21:36:56 +0200
|
2018-09-19 20:39:07 +02:00
|
|
|
Subject: [PATCH 1/4] Recorder includes to prevent conflict with vsnprintf
|
2016-09-19 22:18:45 +02:00
|
|
|
|
|
|
|
Some files #include <dshow.h>
|
|
|
|
This is a C header which also #include's stdio.h which adds a #define vsnprintf
|
|
|
|
This #define vsnprint conflicts with QtCore/qstring.h so reorder the includes
|
|
|
|
a bit to prevent this situation
|
|
|
|
---
|
2017-06-02 18:20:04 +02:00
|
|
|
src/multimedia/video/qvideosurfaceformat.h | 1 +
|
|
|
|
src/plugins/directshow/common/directshowglobal.h | 1 +
|
2017-01-23 21:37:13 +01:00
|
|
|
2 files changed, 2 insertions(+)
|
2016-09-19 22:18:45 +02:00
|
|
|
|
|
|
|
diff --git a/src/multimedia/video/qvideosurfaceformat.h b/src/multimedia/video/qvideosurfaceformat.h
|
2018-05-23 20:56:49 +02:00
|
|
|
index 1d1990c7..8ddffa03 100644
|
2016-09-19 22:18:45 +02:00
|
|
|
--- a/src/multimedia/video/qvideosurfaceformat.h
|
|
|
|
+++ b/src/multimedia/video/qvideosurfaceformat.h
|
|
|
|
@@ -44,6 +44,7 @@
|
|
|
|
#include <QtCore/qpair.h>
|
|
|
|
#include <QtCore/qshareddata.h>
|
|
|
|
#include <QtCore/qsize.h>
|
|
|
|
+#include <QtCore/qstring.h>
|
|
|
|
#include <QtGui/qimage.h>
|
|
|
|
#include <QtMultimedia/qvideoframe.h>
|
|
|
|
|
2017-06-02 18:20:04 +02:00
|
|
|
diff --git a/src/plugins/directshow/common/directshowglobal.h b/src/plugins/directshow/common/directshowglobal.h
|
|
|
|
index 5f391710..3ae3b8aa 100644
|
|
|
|
--- a/src/plugins/directshow/common/directshowglobal.h
|
|
|
|
+++ b/src/plugins/directshow/common/directshowglobal.h
|
2016-09-19 22:18:45 +02:00
|
|
|
@@ -43,6 +43,7 @@
|
|
|
|
#include <dshow.h>
|
|
|
|
|
|
|
|
#include <QtCore/qglobal.h>
|
|
|
|
+#include <QtCore/qstring.h>
|
2017-06-02 18:20:04 +02:00
|
|
|
#include <QtCore/qloggingcategory.h>
|
2016-09-19 22:18:45 +02:00
|
|
|
|
2017-06-02 18:20:04 +02:00
|
|
|
QT_BEGIN_NAMESPACE
|
2016-09-19 22:18:45 +02:00
|
|
|
--
|
2018-09-19 20:39:07 +02:00
|
|
|
2.19.0
|
2016-09-19 22:18:45 +02:00
|
|
|
|