mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
waylandsink: cleanup header includes
This commit is contained in:
parent
ae6aebd9d5
commit
ac9503ed65
7 changed files with 23 additions and 29 deletions
|
@ -42,6 +42,7 @@
|
|||
|
||||
#include "gstwaylandsink.h"
|
||||
#include "wlvideoformat.h"
|
||||
#include "waylandpool.h"
|
||||
|
||||
/* signals */
|
||||
enum
|
||||
|
|
|
@ -22,23 +22,8 @@
|
|||
#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>
|
||||
|
||||
|
@ -63,10 +48,6 @@ G_BEGIN_DECLS
|
|||
typedef struct _GstWaylandSink GstWaylandSink;
|
||||
typedef struct _GstWaylandSinkClass GstWaylandSinkClass;
|
||||
|
||||
G_END_DECLS
|
||||
#include "waylandpool.h"
|
||||
G_BEGIN_DECLS
|
||||
|
||||
struct _GstWaylandSink
|
||||
{
|
||||
GstVideoSink parent;
|
||||
|
|
|
@ -22,20 +22,17 @@
|
|||
#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
|
||||
|
|
|
@ -21,6 +21,9 @@
|
|||
#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
|
||||
|
|
|
@ -18,6 +18,10 @@
|
|||
* Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "wldisplay.h"
|
||||
|
||||
#include <errno.h>
|
||||
|
|
|
@ -21,6 +21,10 @@
|
|||
* Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "wlvideoformat.h"
|
||||
|
||||
typedef struct
|
||||
|
|
|
@ -20,6 +20,10 @@
|
|||
* 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);
|
||||
|
|
Loading…
Reference in a new issue