summaryrefslogtreecommitdiffstats
path: root/package/gstreamer1/gst1-vaapi/0001-plugins-guard-GstGL-code.patch
diff options
context:
space:
mode:
authorAdam Duskett <aduskett@gmail.com>2018-06-24 00:35:25 +0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-06-26 22:09:26 +0200
commit5961332dc40fd0ce28c0d9fbff78dc051715065a (patch)
tree25142be681212bb6ea42c2256a50d30f2ef48c51 /package/gstreamer1/gst1-vaapi/0001-plugins-guard-GstGL-code.patch
parent0d5965fd61eb0e2edcfd55177bc4af0238cb70ef (diff)
downloadbuildroot-5961332dc40fd0ce28c0d9fbff78dc051715065a.tar.gz
buildroot-5961332dc40fd0ce28c0d9fbff78dc051715065a.zip
gst1-vaapi: bump to 1.14.1
- add upstream patch to fix the following compile failure: gstvaapipluginutil.c:259:12: error: ‘GstGLDisplay’ undeclared (first use in this function); did you mean ‘GstVaapiDisplay’? (GstGLDisplay **) & plugin->gl_display, ^~~~~~~~~~~~ GstVaapiDisplay gstvaapipluginutil.c:259:12: note: each undeclared identifier is reported only once for each function it appears in gstvaapipluginutil.c:259:27: error: expected expression before ‘)’ token (GstGLDisplay **) & plugin->gl_display, ^ Also add hash for license file. Signed-off-by: Adam Duskett <aduskett@gmail.com> [Update to 1.14.1] Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/gstreamer1/gst1-vaapi/0001-plugins-guard-GstGL-code.patch')
-rw-r--r--package/gstreamer1/gst1-vaapi/0001-plugins-guard-GstGL-code.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/package/gstreamer1/gst1-vaapi/0001-plugins-guard-GstGL-code.patch b/package/gstreamer1/gst1-vaapi/0001-plugins-guard-GstGL-code.patch
new file mode 100644
index 0000000000..a85d666e31
--- /dev/null
+++ b/package/gstreamer1/gst1-vaapi/0001-plugins-guard-GstGL-code.patch
@@ -0,0 +1,35 @@
+From 73e31146a5c6bcd48eb3089a2a140833a401623b Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?=
+ <vjaquez@igalia.com>
+Date: Mon, 21 May 2018 13:27:14 +0200
+Subject: [PATCH] plugins: guard GstGL code
+
+Upstream: https://cgit.freedesktop.org/gstreamer/gstreamer-vaapi/patch/?id=45fb111850955d9192e43b9dbcb2ef8e3974e58d
+Signed-off-by: Peter Seiderer <ps.report@gmx.net>
+---
+ gst/vaapi/gstvaapipluginutil.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/gst/vaapi/gstvaapipluginutil.c b/gst/vaapi/gstvaapipluginutil.c
+index fa25131..648c91b 100644
+--- a/gst/vaapi/gstvaapipluginutil.c
++++ b/gst/vaapi/gstvaapipluginutil.c
+@@ -246,6 +246,7 @@ gst_vaapi_create_display_from_gl_context (GstObject * gl_context_object)
+ static void
+ gst_vaapi_find_gl_context (GstElement * element)
+ {
++#if USE_GST_GL_HELPERS
+ GstVaapiPluginBase *const plugin = GST_VAAPI_PLUGIN_BASE (element);
+
+ /* if the element is vaapisink or any vaapi encoder it doesn't need
+@@ -282,6 +283,7 @@ no_valid_gl_display:
+ gst_object_replace (&plugin->gl_other_context, NULL);
+ return;
+ }
++#endif
+ }
+
+ gboolean
+--
+2.17.1
+
OpenPOWER on IntegriCloud