[PATCH 16/17] gstreamer1.0-plugins-base: Add patch to fix compilations errors
Otavio Salvador
From: Fabio Berton <fabio.berton@...>
This patch was merged on gstreamer 1.14.1. For details see link: https://bugzilla.gnome.org/show_bug.cgi?id=794589 Signed-off-by: Fabio Berton <fabio.berton@...> Signed-off-by: Otavio Salvador <otavio@...> --- ...stglfuncs.h-to-fix-cross-compilation.patch | 50 +++++++++++++++++++ .../gstreamer1.0-plugins-base_1.14.0.bbappend | 4 ++ 2 files changed, 54 insertions(+) create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.14.0/viv-fb-Include-gstglfuncs.h-to-fix-cross-compilation.patch create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.14.0.bbappend diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.14.0/viv-fb-Include-gstglfuncs.h-to-fix-cross-compilation.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.14.0/viv-fb-Include-gstglfuncs.h-to-fix-cross-compilation.patch new file mode 100644 index 00000000..f98aea37 --- /dev/null +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.14.0/viv-fb-Include-gstglfuncs.h-to-fix-cross-compilation.patch @@ -0,0 +1,50 @@ +From e66971cf516b371468b6712b05b9b82bed0c2a4a Mon Sep 17 00:00:00 2001 +From: Carlos Rafael Giani <dv@...> +Date: Thu, 22 Mar 2018 07:56:28 +0100 +Subject: [PATCH] viv-fb: Include gstglfuncs.h to fix cross compilation errors +Organization: O.S. Systems Software LTDA. + +Upstream-Status: Accepted [expected in 1.14.1] + +https://bugzilla.gnome.org/show_bug.cgi?id=794589 +--- + gst-libs/gst/gl/gstglupload.c | 1 + + gst-libs/gst/gl/viv-fb/gstglwindow_viv_fb_egl.c | 3 ++- + 2 files changed, 3 insertions(+), 1 deletion(-) + +diff --git a/gst-libs/gst/gl/gstglupload.c b/gst-libs/gst/gl/gstglupload.c +index feaf2f68e..5390cdf4b 100644 +--- a/gst-libs/gst/gl/gstglupload.c ++++ b/gst-libs/gst/gl/gstglupload.c +@@ -40,6 +40,7 @@ + + #if GST_GL_HAVE_VIV_DIRECTVIV + #include <gst/allocators/gstphysmemory.h> ++#include <gst/gl/gstglfuncs.h> + #endif + + /** +diff --git a/gst-libs/gst/gl/viv-fb/gstglwindow_viv_fb_egl.c b/gst-libs/gst/gl/viv-fb/gstglwindow_viv_fb_egl.c +index 8515dc8ec..8d6fceb80 100644 +--- a/gst-libs/gst/gl/viv-fb/gstglwindow_viv_fb_egl.c ++++ b/gst-libs/gst/gl/viv-fb/gstglwindow_viv_fb_egl.c +@@ -23,6 +23,7 @@ + + #include "../gstgl_fwd.h" + #include <gst/gl/gstglcontext.h> ++#include <gst/gl/gstglfuncs.h> + + #include "gstglwindow_viv_fb_egl.h" + #include "../gstglwindow_private.h" +@@ -215,7 +216,7 @@ _free_set_render_rectangle (SetRenderRectangleData * render) + } + + static void +-_calculate_viewport_coordinates(GstGLWindowVivFBEGL * window_egl, ++_calculate_viewport_coordinates (GstGLWindowVivFBEGL * window_egl, + GstVideoRectangle * req, GstVideoRectangle * result) + { + result->x = req->x; +-- +2.17.1 + diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.14.0.bbappend b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.14.0.bbappend new file mode 100644 index 00000000..a94acf48 --- /dev/null +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.14.0.bbappend @@ -0,0 +1,4 @@ +# Copyright 2018 (C) O.S. Systems Software LTDA. +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:" + +SRC_URI += "file://viv-fb-Include-gstglfuncs.h-to-fix-cross-compilation.patch" -- 2.17.1 |
|