viv-fb: Include gstglfuncs.h to fix cross compilation errors
authorCarlos Rafael Giani <dv@pseudoterminal.org>
Thu, 22 Mar 2018 06:56:28 +0000 (07:56 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 22 Mar 2018 07:51:58 +0000 (09:51 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=794589

gst-libs/gst/gl/gstglupload.c
gst-libs/gst/gl/viv-fb/gstglwindow_viv_fb_egl.c

index feaf2f6..5390cdf 100644 (file)
@@ -40,6 +40,7 @@
 
 #if GST_GL_HAVE_VIV_DIRECTVIV
 #include <gst/allocators/gstphysmemory.h>
+#include <gst/gl/gstglfuncs.h>
 #endif
 
 /**
index 8515dc8..8d6fceb 100644 (file)
@@ -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;