libs: remove unneeded headers
authorVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Wed, 4 Nov 2015 15:50:44 +0000 (16:50 +0100)
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Mon, 9 Nov 2015 14:12:31 +0000 (15:12 +0100)
Since gstvaapidisplay_glx.h do not expose gl.h/glx.h structures, it is not
required to include them in the header. It is not also required to include
them in gstvaapidisplay_glx.c, since gstvaapiutils_glx.h includes them and
exposes their structures (e.g. GLXPixmap).

Nonetheless, glext.h neither glxext.h are required to include, they are
already included conditionally by gl.h and glx.h, respectively.

Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
https://bugzilla.gnome.org/show_bug.cgi?id=757577

gst-libs/gst/vaapi/gstvaapidisplay_glx.h
gst-libs/gst/vaapi/gstvaapiutils_glx.h

index 8096cb2..485c413 100644 (file)
@@ -25,8 +25,6 @@
 #ifndef GST_VAAPI_DISPLAY_GLX_H
 #define GST_VAAPI_DISPLAY_GLX_H
 
-#include <GL/gl.h>
-#include <GL/glx.h>
 #include <gst/vaapi/gstvaapidisplay_x11.h>
 
 G_BEGIN_DECLS
index c89c85f..d78b3ee 100644 (file)
@@ -28,9 +28,7 @@
 #include "config.h"
 #include "libgstvaapi_priv_check.h"
 #include <GL/gl.h>
-#include <GL/glext.h>
 #include <GL/glx.h>
-#include <GL/glxext.h>
 #include <glib.h>
 
 #if GLX_GLXEXT_VERSION < 18