From 466c0548dc7de371935ad358cfc5bb0d25d78c83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Tue, 22 Aug 2017 11:37:28 +0200 Subject: [PATCH] plugins: include main gstgl header Instead including particular gstgl header files in a header file that doesn't export a gstgl symbol, the main gstgl header file is included in gstvaapipluginutil.c where the symbols are used. https://bugzilla.gnome.org/show_bug.cgi?id=786597 --- gst/vaapi/gstvaapipluginbase.h | 4 ---- gst/vaapi/gstvaapipluginutil.c | 3 +++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/gst/vaapi/gstvaapipluginbase.h b/gst/vaapi/gstvaapipluginbase.h index 3346ed40ae..276e130ae3 100644 --- a/gst/vaapi/gstvaapipluginbase.h +++ b/gst/vaapi/gstvaapipluginbase.h @@ -31,10 +31,6 @@ #include #include -#if USE_GST_GL_HELPERS -# include -#endif - G_BEGIN_DECLS typedef struct _GstVaapiPluginBase GstVaapiPluginBase; diff --git a/gst/vaapi/gstvaapipluginutil.c b/gst/vaapi/gstvaapipluginutil.c index c38334fc25..d5114b5d99 100644 --- a/gst/vaapi/gstvaapipluginutil.c +++ b/gst/vaapi/gstvaapipluginutil.c @@ -39,6 +39,9 @@ #if USE_WAYLAND # include #endif +#if USE_GST_GL_HELPERS +# include +#endif #include "gstvaapipluginutil.h" #include "gstvaapipluginbase.h"