Commit a13c24dc authored by Nicolas Dufresne's avatar Nicolas Dufresne

v4l2: Remove spurious CATEGORY_EXTERN

These have been copy pasted all over the place and are not used anymore.
All object have it's own category now. This fixes build warning since
the VP9 decoder had vp8 category declared.
parent 783ac9a9
......@@ -34,11 +34,8 @@ typedef struct _GstV4l2Meta GstV4l2Meta;
#include "gstv4l2object.h"
#include "gstv4l2allocator.h"
GST_DEBUG_CATEGORY_EXTERN (v4l2buffer_debug);
G_BEGIN_DECLS
#define GST_TYPE_V4L2_BUFFER_POOL (gst_v4l2_buffer_pool_get_type())
#define GST_IS_V4L2_BUFFER_POOL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_V4L2_BUFFER_POOL))
#define GST_V4L2_BUFFER_POOL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_V4L2_BUFFER_POOL, GstV4l2BufferPool))
......
......@@ -25,8 +25,6 @@
#include <gst/gst.h>
#include "gstv4l2videoenc.h"
GST_DEBUG_CATEGORY_EXTERN (v4l2h263enc_debug);
G_BEGIN_DECLS
#define GST_TYPE_V4L2_H263_ENC \
(gst_v4l2_h263_enc_get_type())
......
......@@ -25,8 +25,6 @@
#include <gst/gst.h>
#include "gstv4l2videoenc.h"
GST_DEBUG_CATEGORY_EXTERN (v4l2h264enc_debug);
G_BEGIN_DECLS
#define GST_TYPE_V4L2_H264_ENC \
(gst_v4l2_h264_enc_get_type())
......
......@@ -25,8 +25,6 @@
#include <gst/gst.h>
#include "gstv4l2videoenc.h"
GST_DEBUG_CATEGORY_EXTERN (v4l2mpeg4enc_debug);
G_BEGIN_DECLS
#define GST_TYPE_V4L2_MPEG4_ENC \
(gst_v4l2_mpeg4_enc_get_type())
......
......@@ -29,9 +29,6 @@
#include <gstv4l2object.h>
#include <gstv4l2bufferpool.h>
GST_DEBUG_CATEGORY_EXTERN (v4l2sink_debug);
G_BEGIN_DECLS
#define GST_TYPE_V4L2SINK \
......
......@@ -27,8 +27,6 @@
#include <gstv4l2object.h>
#include <gstv4l2bufferpool.h>
GST_DEBUG_CATEGORY_EXTERN (v4l2src_debug);
G_BEGIN_DECLS
#define GST_TYPE_V4L2SRC \
......
......@@ -28,8 +28,6 @@
#include <gstv4l2object.h>
#include <gstv4l2bufferpool.h>
GST_DEBUG_CATEGORY_EXTERN (v4l2transform_debug);
G_BEGIN_DECLS
#define GST_TYPE_V4L2_TRANSFORM \
......
......@@ -30,8 +30,6 @@
#include <gstv4l2object.h>
#include <gstv4l2bufferpool.h>
GST_DEBUG_CATEGORY_EXTERN (v4l2videodec_debug);
G_BEGIN_DECLS
#define GST_TYPE_V4L2_VIDEO_DEC \
......
......@@ -30,8 +30,6 @@
#include <gstv4l2object.h>
#include <gstv4l2bufferpool.h>
GST_DEBUG_CATEGORY_EXTERN (v4l2videoenc_debug);
G_BEGIN_DECLS
#define GST_TYPE_V4L2_VIDEO_ENC \
(gst_v4l2_video_enc_get_type())
......
......@@ -25,8 +25,6 @@
#include <gst/gst.h>
#include "gstv4l2videoenc.h"
GST_DEBUG_CATEGORY_EXTERN (v4l2vp8enc_debug);
G_BEGIN_DECLS
#define GST_TYPE_V4L2_VP8_ENC \
(gst_v4l2_vp8_enc_get_type())
......
......@@ -25,8 +25,6 @@
#include <gst/gst.h>
#include "gstv4l2videoenc.h"
GST_DEBUG_CATEGORY_EXTERN (v4l2vp8enc_debug);
G_BEGIN_DECLS
#define GST_TYPE_V4L2_VP9_ENC \
(gst_v4l2_vp9_enc_get_type())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment