Permalink
Browse files

headers: adhear to gtk-docs weired gobject requirements

This fixes the duplicate "id" warnings, as now the gobjuect are
recognised and therefore the symbols get different ids.

Signed-off-by: Stefan Kost <ensonic@users.sf.net>
Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
  • Loading branch information...
1 parent 081dab3 commit a305a9fa93e88e38436fc713eff12e736b203833 @ensonic ensonic committed with Felipe Contreras Nov 9, 2010
Showing with 32 additions and 32 deletions.
  1. +4 −4 gstdspbase.h
  2. +4 −4 gstdspdummy.h
  3. +4 −4 gstdsph263enc.h
  4. +4 −4 gstdsph264enc.h
  5. +4 −4 gstdspjpegenc.h
  6. +4 −4 gstdspmp4venc.h
  7. +4 −4 gstdspvdec.h
  8. +4 −4 gstdspvenc.h
View
@@ -22,8 +22,8 @@ G_BEGIN_DECLS
/* #define TS_COUNT */
-typedef struct GstDspBase GstDspBase;
-typedef struct GstDspBaseClass GstDspBaseClass;
+typedef struct _GstDspBase GstDspBase;
+typedef struct _GstDspBaseClass GstDspBaseClass;
typedef struct du_port_t du_port_t;
@@ -58,7 +58,7 @@ struct td_codec {
void (*send_params)(GstDspBase *base, struct dsp_node *node);
};
-struct GstDspBase {
+struct _GstDspBase {
GstElement element;
GstPad *sinkpad, *srcpad;
@@ -100,7 +100,7 @@ struct GstDspBase {
guint skip_hack_2; /* don't process x number of buffers */
};
-struct GstDspBaseClass {
+struct _GstDspBaseClass {
GstElementClass parent_class;
gboolean (*sink_event)(GstDspBase *base, GstEvent *event);
View
@@ -19,12 +19,12 @@ G_BEGIN_DECLS
#define GST_DSP_DUMMY_TYPE (gst_dsp_dummy_get_type())
#define GST_DSP_DUMMY_CLASS(obj) (GstDspDummyClass *) (obj)
-typedef struct GstDspDummy GstDspDummy;
-typedef struct GstDspDummyClass GstDspDummyClass;
+typedef struct _GstDspDummy GstDspDummy;
+typedef struct _GstDspDummyClass GstDspDummyClass;
#include "dmm_buffer.h"
-struct GstDspDummy {
+struct _GstDspDummy {
GstElement element;
GstPad *sinkpad, *srcpad;
@@ -38,7 +38,7 @@ struct GstDspDummy {
unsigned dsp_error;
};
-struct GstDspDummyClass {
+struct _GstDspDummyClass {
GstElementClass parent_class;
};
View
@@ -19,16 +19,16 @@ G_BEGIN_DECLS
#define GST_DSP_H263ENC_TYPE (gst_dsp_h263enc_get_type())
#define GST_DSP_H263ENC_CLASS(obj) (GstDspH263EncClass *)(obj)
-typedef struct GstDspH263Enc GstDspH263Enc;
-typedef struct GstDspH263EncClass GstDspH263EncClass;
+typedef struct _GstDspH263Enc GstDspH263Enc;
+typedef struct _GstDspH263EncClass GstDspH263EncClass;
#include "gstdspvenc.h"
-struct GstDspH263Enc {
+struct _GstDspH263Enc {
GstDspVEnc element;
};
-struct GstDspH263EncClass {
+struct _GstDspH263EncClass {
GstDspVEncClass parent_class;
};
View
@@ -22,16 +22,16 @@ G_BEGIN_DECLS
#define GST_DSP_H264ENC_TYPE (gst_dsp_h264enc_get_type())
#define GST_DSP_H264ENC_CLASS(obj) (GstDspH264EncClass *)(obj)
-typedef struct GstDspH264Enc GstDspH264Enc;
-typedef struct GstDspH264EncClass GstDspH264EncClass;
+typedef struct _GstDspH264Enc GstDspH264Enc;
+typedef struct _GstDspH264EncClass GstDspH264EncClass;
#include "gstdspvenc.h"
-struct GstDspH264Enc {
+struct _GstDspH264Enc {
GstDspVEnc element;
};
-struct GstDspH264EncClass {
+struct _GstDspH264EncClass {
GstDspVEncClass parent_class;
};
View
@@ -19,19 +19,19 @@ G_BEGIN_DECLS
#define GST_DSP_JPEGENC_TYPE (gst_dsp_jpegenc_get_type())
#define GST_DSP_JPEGENC_CLASS(obj) (GstDspJpegEncClass *)(obj)
-typedef struct GstDspJpegEnc GstDspJpegEnc;
-typedef struct GstDspJpegEncClass GstDspJpegEncClass;
+typedef struct _GstDspJpegEnc GstDspJpegEnc;
+typedef struct _GstDspJpegEncClass GstDspJpegEncClass;
#include "gstdspvenc.h"
#define JPEGENC_MAX_WIDTH 4096
#define JPEGENC_MAX_HEIGHT 4096
-struct GstDspJpegEnc {
+struct _GstDspJpegEnc {
GstDspVEnc element;
};
-struct GstDspJpegEncClass {
+struct _GstDspJpegEncClass {
GstDspVEncClass parent_class;
};
View
@@ -19,16 +19,16 @@ G_BEGIN_DECLS
#define GST_DSP_MP4VENC_TYPE (gst_dsp_mp4venc_get_type())
#define GST_DSP_MP4VENC_CLASS(obj) (GstDspMp4VEncClass *)(obj)
-typedef struct GstDspMp4VEnc GstDspMp4VEnc;
-typedef struct GstDspMp4VEncClass GstDspMp4VEncClass;
+typedef struct _GstDspMp4VEnc GstDspMp4VEnc;
+typedef struct _GstDspMp4VEncClass GstDspMp4VEncClass;
#include "gstdspvenc.h"
-struct GstDspMp4VEnc {
+struct _GstDspMp4VEnc {
GstDspVEnc element;
};
-struct GstDspMp4VEncClass {
+struct _GstDspMp4VEncClass {
GstDspVEncClass parent_class;
};
View
@@ -19,8 +19,8 @@ G_BEGIN_DECLS
#define GST_DSP_VDEC_TYPE (gst_dsp_vdec_get_type())
#define GST_DSP_VDEC_CLASS(obj) (GstDspVDecClass *)(obj)
-typedef struct GstDspVDec GstDspVDec;
-typedef struct GstDspVDecClass GstDspVDecClass;
+typedef struct _GstDspVDec GstDspVDec;
+typedef struct _GstDspVDecClass GstDspVDecClass;
#include "gstdspbase.h"
@@ -38,7 +38,7 @@ union vdec_priv_data {
} h264;
};
-struct GstDspVDec {
+struct _GstDspVDec {
GstDspBase element;
gint width, height;
gint crop_width, crop_height;
@@ -52,7 +52,7 @@ struct GstDspVDec {
union vdec_priv_data priv;
};
-struct GstDspVDecClass {
+struct _GstDspVDecClass {
GstDspBaseClass parent_class;
};
View
@@ -19,8 +19,8 @@ G_BEGIN_DECLS
#define GST_DSP_VENC_TYPE (gst_dsp_venc_get_type())
#define GST_DSP_VENC_CLASS(obj) (GstDspVEncClass *)(obj)
-typedef struct GstDspVEnc GstDspVEnc;
-typedef struct GstDspVEncClass GstDspVEncClass;
+typedef struct _GstDspVEnc GstDspVEnc;
+typedef struct _GstDspVEncClass GstDspVEncClass;
#include "gstdspbase.h"
@@ -49,7 +49,7 @@ enum {
GSTDSP_H264ENC,
};
-struct GstDspVEnc {
+struct _GstDspVEnc {
GstDspBase element;
gint width, height;
guint32 color_format;
@@ -71,7 +71,7 @@ struct GstDspVEnc {
gint level;
};
-struct GstDspVEncClass {
+struct _GstDspVEncClass {
GstDspBaseClass parent_class;
};

0 comments on commit a305a9f

Please sign in to comment.