#include "gstwaylandsink.h"
#include "wlvideoformat.h"
+#include "waylandpool.h"
/* signals */
enum
#ifndef __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/video/video.h>
#include <gst/video/gstvideosink.h>
-#include <gst/video/gstvideometa.h>
#include <wayland-client.h>
typedef struct _GstWaylandSink GstWaylandSink;
typedef struct _GstWaylandSinkClass GstWaylandSinkClass;
-G_END_DECLS
-#include "waylandpool.h"
-G_BEGIN_DECLS
-
struct _GstWaylandSink
{
GstVideoSink parent;
#include "config.h"
#endif
-/* Object header */
-#include "gstwaylandsink.h"
+#include "waylandpool.h"
#include "wldisplay.h"
#include "wlvideoformat.h"
-/* Debugging category */
-#include <gst/gstinfo.h>
-
-/* Helper functions */
-#include <gst/video/video.h>
-#include <gst/video/gstvideometa.h>
-#include <gst/video/gstvideopool.h>
-
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#include <errno.h>
+#include <unistd.h>
+#include <sys/mman.h>
+#include <sys/types.h>
/* wl metadata */
GType
#ifndef __GST_WAYLAND_BUFFER_POOL_H__
#define __GST_WAYLAND_BUFFER_POOL_H__
+#include <gst/video/video.h>
+#include <gst/video/gstvideometa.h>
+
#include "gstwaylandsink.h"
G_BEGIN_DECLS
* Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "wldisplay.h"
#include <errno.h>
* Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "wlvideoformat.h"
typedef struct
* Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "wlwindow.h"
G_DEFINE_TYPE (GstWlWindow, gst_wl_window, G_TYPE_OBJECT);