summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good
diff options
context:
space:
mode:
authorJose Quaresma <quaresma.jose@gmail.com>2020-10-29 14:27:49 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-10-31 08:54:12 +0000
commitaf090eec2bc98c06ef10b362a3811c27cfc7ecbe (patch)
treeec6377f19dc5e77be96a016c0fbea30efd8a18cd /meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good
parentce6b2b57ad2d7136e42ccc13c422f8db55a026a1 (diff)
downloadpoky-af090eec2bc98c06ef10b362a3811c27cfc7ecbe.tar.gz
gstreamer1.0-plugins-good: upgrade to version 1.18.0
* 0001-qmlgl-ensure-Qt-defines-GLsync-to-fix-compile-on-som.patch Removed since these are included in 1.18.0 License-Update: remove file://common/coverage/coverage-report.pl Upstream dont have it any more. (From OE-Core rev: 06f51b0ae0e5a3071778f7d4134bf719b25a103f) Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good')
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-qmlgl-ensure-Qt-defines-GLsync-to-fix-compile-on-som.patch70
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-qt-include-ext-qt-gstqtgl.h-instead-of-gst-gl-gstglf.patch8
2 files changed, 4 insertions, 74 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-qmlgl-ensure-Qt-defines-GLsync-to-fix-compile-on-som.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-qmlgl-ensure-Qt-defines-GLsync-to-fix-compile-on-som.patch
deleted file mode 100644
index 136848763b..0000000000
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-qmlgl-ensure-Qt-defines-GLsync-to-fix-compile-on-som.patch
+++ /dev/null
@@ -1,70 +0,0 @@
1From 3e0d5577444b32579bdf5b69d720a322322ff7bc Mon Sep 17 00:00:00 2001
2From: Milian Wolff <milian.wolff@kdab.com>
3Date: Tue, 26 Nov 2019 15:08:20 +0100
4Subject: [PATCH] qmlgl: ensure Qt defines GLsync to fix compile on some platforms
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9By explictly including QtGui/qopengl.h we force the code path that
10defines GLsync in the Qt-specific way. Without that, some platforms
11failed to compile the qmlgl plugin, since neither Qt nor gstreamer
12defined GLsync then, leading to e.g.:
13
14```
15make[4]: Entering directory '/.../gst-plugins-good-1.16.1/ext/qt'
16 CXX libgstqmlgl_la-qtitem.lo
17In file included from gstqtgl.h:32,
18 from qtitem.h:27,
19 from qtitem.cc:28:
20/.../usr/include/gstreamer-1.0/
21gst/gl/gstglfuncs.h:93:17: error: expected identifier before ‘*’ token
22 ret (GSTGLAPI *name) args;
23 ^
24/.../usr/include/gstreamer-1.0/
25gst/gl/glprototypes/sync.h:27:1: note: in expansion of macro
26‘GST_GL_EXT_FUNCTION’
27 GST_GL_EXT_FUNCTION (GLsync, FenceSync,
28 ^~~~~~~~~~~~~~~~~~~
29```
30Signed-off-by: Khem Raj <raj.khem@gmail.com>
31Upstream-Status: Backport [https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/commit/3e0d5577444b32579bdf5b69d720a322322ff7bc]
32---
33 ext/qt/gstqtgl.h | 18 +++++++++++-------
34 1 file changed, 11 insertions(+), 7 deletions(-)
35
36--- a/ext/qt/gstqtgl.h
37+++ b/ext/qt/gstqtgl.h
38@@ -22,14 +22,7 @@
39 #include <QtGui/qtgui-config.h>
40 #endif
41
42-/* qt uses the same trick as us to typedef GLsync on GLES2 but to a different
43- * type which confuses the preprocessor. Instead of trying to reconcile the
44- * two, we instead use the GLsync definition from Qt from above, and ensure
45- * that we don't typedef GLsync in gstglfuncs.h */
46 #include <gst/gl/gstglconfig.h>
47-#undef GST_GL_HAVE_GLSYNC
48-#define GST_GL_HAVE_GLSYNC 1
49-#include <gst/gl/gstglfuncs.h>
50
51 /* The glext.h guard was renamed in 2018, but some software which
52 * includes their own copy of the GL headers (such as qt) might have
53@@ -46,6 +39,17 @@
54 #endif
55 #endif
56
57+/* pulls in GLsync, see below */
58+#include <QtGui/qopengl.h>
59+
60+/* qt uses the same trick as us to typedef GLsync on GLES2 but to a different
61+ * type which confuses the preprocessor. Instead of trying to reconcile the
62+ * two, we instead use the GLsync definition from Qt from above, and ensure
63+ * that we don't typedef GLsync in gstglfuncs.h */
64+#undef GST_GL_HAVE_GLSYNC
65+#define GST_GL_HAVE_GLSYNC 1
66+#include <gst/gl/gstglfuncs.h>
67+
68 #if defined(QT_OPENGL_ES_2)
69 #include <QtGui/QOpenGLContext>
70 #include <QtGui/QOpenGLFunctions>
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-qt-include-ext-qt-gstqtgl.h-instead-of-gst-gl-gstglf.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-qt-include-ext-qt-gstqtgl.h-instead-of-gst-gl-gstglf.patch
index 3d423154e0..788d752058 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-qt-include-ext-qt-gstqtgl.h-instead-of-gst-gl-gstglf.patch
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-qt-include-ext-qt-gstqtgl.h-instead-of-gst-gl-gstglf.patch
@@ -1,4 +1,4 @@
1From d08234a659bec1fd5c984fedefbeb8192af07839 Mon Sep 17 00:00:00 2001 1From bf8b2fa0f6870589d036f0f33c140a3f85b530a0 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 31 Mar 2020 21:23:28 -0700 3Date: Tue, 31 Mar 2020 21:23:28 -0700
4Subject: [PATCH] qt: include ext/qt/gstqtgl.h instead of gst/gl/gstglfuncs.h 4Subject: [PATCH] qt: include ext/qt/gstqtgl.h instead of gst/gl/gstglfuncs.h
@@ -26,7 +26,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
26 2 files changed, 2 insertions(+), 2 deletions(-) 26 2 files changed, 2 insertions(+), 2 deletions(-)
27 27
28diff --git a/ext/qt/gstqsgtexture.cc b/ext/qt/gstqsgtexture.cc 28diff --git a/ext/qt/gstqsgtexture.cc b/ext/qt/gstqsgtexture.cc
29index 2b314e0..12b15dd 100644 29index a05d26e..4cc9fc6 100644
30--- a/ext/qt/gstqsgtexture.cc 30--- a/ext/qt/gstqsgtexture.cc
31+++ b/ext/qt/gstqsgtexture.cc 31+++ b/ext/qt/gstqsgtexture.cc
32@@ -27,7 +27,7 @@ 32@@ -27,7 +27,7 @@
@@ -39,7 +39,7 @@ index 2b314e0..12b15dd 100644
39 39
40 #define GST_CAT_DEFAULT gst_qsg_texture_debug 40 #define GST_CAT_DEFAULT gst_qsg_texture_debug
41diff --git a/ext/qt/qtwindow.cc b/ext/qt/qtwindow.cc 41diff --git a/ext/qt/qtwindow.cc b/ext/qt/qtwindow.cc
42index 62d26b6..bf68ebb 100644 42index 9360c33..0dfd3f1 100644
43--- a/ext/qt/qtwindow.cc 43--- a/ext/qt/qtwindow.cc
44+++ b/ext/qt/qtwindow.cc 44+++ b/ext/qt/qtwindow.cc
45@@ -25,7 +25,7 @@ 45@@ -25,7 +25,7 @@
@@ -52,5 +52,5 @@ index 62d26b6..bf68ebb 100644
52 #include "gstqsgtexture.h" 52 #include "gstqsgtexture.h"
53 #include "gstqtglutility.h" 53 #include "gstqtglutility.h"
54-- 54--
552.26.0 552.28.0
56 56