#define _GST_VIDEO_DECODER_H_
#include <gst/base/gstadapter.h>
-#include <gst/video/video.h>
#include <gst/video/gstvideoutils.h>
G_BEGIN_DECLS
* Boston, MA 02110-1301, USA.
*/
+#ifndef __GST_VIDEO_H__
+#include <gst/video/video.h>
+#endif
+
#ifndef _GST_VIDEO_UTILS_H_
#define _GST_VIDEO_UTILS_H_
#include <gst/gst.h>
-#include <gst/video/video.h>
G_BEGIN_DECLS
#define GST_TYPE_VIDEO_CODEC_STATE \
typedef struct _GstVideoChromaResample GstVideoChromaResample;
+/* circular dependency, need to include this after defining the enums */
+#include <gst/video/video-format.h>
+
GstVideoChromaResample * gst_video_chroma_resample_new (GstVideoChromaMethod method,
GstVideoChromaSite site,
GstVideoChromaFlags flags,
#ifndef __GST_VIDEO_FRAME_H__
#define __GST_VIDEO_FRAME_H__
-#include <gst/gst.h>
-#include <gst/video/video-info.h>
+#include <gst/video/video-enumtypes.h>
G_BEGIN_DECLS
-#include <gst/video/video-enumtypes.h>
-
typedef struct _GstVideoFrame GstVideoFrame;
/**
GST_VIDEO_FRAME_FLAG_ONEFIELD = (1 << 3)
} GstVideoFrameFlags;
+/* circular dependency, need to include this after defining the enums */
+#include <gst/video/video-format.h>
+#include <gst/video/video-info.h>
+
/**
* GstVideoFrame:
* @info: the #GstVideoInfo