waylandsink: cleanup header includes

This commit is contained in:
George Kiagiadakis 2014-02-13 13:15:31 +01:00
parent ae6aebd9d5
commit ac9503ed65
7 changed files with 23 additions and 29 deletions

View file

@ -42,6 +42,7 @@
#include "gstwaylandsink.h" #include "gstwaylandsink.h"
#include "wlvideoformat.h" #include "wlvideoformat.h"
#include "waylandpool.h"
/* signals */ /* signals */
enum enum

View file

@ -22,23 +22,8 @@
#ifndef __GST_WAYLAND_VIDEO_SINK_H__ #ifndef __GST_WAYLAND_VIDEO_SINK_H__
#define __GST_WAYLAND_VIDEO_SINK_H__ #define __GST_WAYLAND_VIDEO_SINK_H__
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <fcntl.h>
#include <assert.h>
#include <unistd.h>
#include <gst/gst.h> #include <gst/gst.h>
#include <gst/video/video.h>
#include <gst/video/gstvideosink.h> #include <gst/video/gstvideosink.h>
#include <gst/video/gstvideometa.h>
#include <wayland-client.h> #include <wayland-client.h>
@ -63,10 +48,6 @@ G_BEGIN_DECLS
typedef struct _GstWaylandSink GstWaylandSink; typedef struct _GstWaylandSink GstWaylandSink;
typedef struct _GstWaylandSinkClass GstWaylandSinkClass; typedef struct _GstWaylandSinkClass GstWaylandSinkClass;
G_END_DECLS
#include "waylandpool.h"
G_BEGIN_DECLS
struct _GstWaylandSink struct _GstWaylandSink
{ {
GstVideoSink parent; GstVideoSink parent;

View file

@ -22,20 +22,17 @@
#include "config.h" #include "config.h"
#endif #endif
/* Object header */ #include "waylandpool.h"
#include "gstwaylandsink.h"
#include "wldisplay.h" #include "wldisplay.h"
#include "wlvideoformat.h" #include "wlvideoformat.h"
/* Debugging category */ #include <stdio.h>
#include <gst/gstinfo.h> #include <stdlib.h>
#include <string.h>
/* Helper functions */
#include <gst/video/video.h>
#include <gst/video/gstvideometa.h>
#include <gst/video/gstvideopool.h>
#include <errno.h> #include <errno.h>
#include <unistd.h>
#include <sys/mman.h>
#include <sys/types.h>
/* wl metadata */ /* wl metadata */
GType GType

View file

@ -21,6 +21,9 @@
#ifndef __GST_WAYLAND_BUFFER_POOL_H__ #ifndef __GST_WAYLAND_BUFFER_POOL_H__
#define __GST_WAYLAND_BUFFER_POOL_H__ #define __GST_WAYLAND_BUFFER_POOL_H__
#include <gst/video/video.h>
#include <gst/video/gstvideometa.h>
#include "gstwaylandsink.h" #include "gstwaylandsink.h"
G_BEGIN_DECLS G_BEGIN_DECLS

View file

@ -18,6 +18,10 @@
* Boston, MA 02110-1301 USA. * Boston, MA 02110-1301 USA.
*/ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "wldisplay.h" #include "wldisplay.h"
#include <errno.h> #include <errno.h>

View file

@ -21,6 +21,10 @@
* Boston, MA 02110-1301 USA. * Boston, MA 02110-1301 USA.
*/ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "wlvideoformat.h" #include "wlvideoformat.h"
typedef struct typedef struct

View file

@ -20,6 +20,10 @@
* Boston, MA 02110-1301 USA. * Boston, MA 02110-1301 USA.
*/ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "wlwindow.h" #include "wlwindow.h"
G_DEFINE_TYPE (GstWlWindow, gst_wl_window, G_TYPE_OBJECT); G_DEFINE_TYPE (GstWlWindow, gst_wl_window, G_TYPE_OBJECT);