viv-fb: Include gstglfuncs.h to fix cross compilation errors

https://bugzilla.gnome.org/show_bug.cgi?id=794589
This commit is contained in:
Carlos Rafael Giani 2018-03-22 07:56:28 +01:00 committed by Sebastian Dröge
parent 681f41978a
commit 9ce1e4e712
2 changed files with 3 additions and 1 deletions

View file

@ -40,6 +40,7 @@
#if GST_GL_HAVE_VIV_DIRECTVIV #if GST_GL_HAVE_VIV_DIRECTVIV
#include <gst/allocators/gstphysmemory.h> #include <gst/allocators/gstphysmemory.h>
#include <gst/gl/gstglfuncs.h>
#endif #endif
/** /**

View file

@ -23,6 +23,7 @@
#include "../gstgl_fwd.h" #include "../gstgl_fwd.h"
#include <gst/gl/gstglcontext.h> #include <gst/gl/gstglcontext.h>
#include <gst/gl/gstglfuncs.h>
#include "gstglwindow_viv_fb_egl.h" #include "gstglwindow_viv_fb_egl.h"
#include "../gstglwindow_private.h" #include "../gstglwindow_private.h"
@ -215,7 +216,7 @@ _free_set_render_rectangle (SetRenderRectangleData * render)
} }
static void static void
_calculate_viewport_coordinates(GstGLWindowVivFBEGL * window_egl, _calculate_viewport_coordinates (GstGLWindowVivFBEGL * window_egl,
GstVideoRectangle * req, GstVideoRectangle * result) GstVideoRectangle * req, GstVideoRectangle * result)
{ {
result->x = req->x; result->x = req->x;