From: Julien Isorce Date: Tue, 17 Feb 2015 23:50:51 +0000 (+0000) Subject: glmixer: fix some compiler warnings X-Git-Tag: 1.19.3~511^2~1989^2~1057 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=975df8b648051925762f9c3364bfb95135f59e4a;p=platform%2Fupstream%2Fgstreamer.git glmixer: fix some compiler warnings i686-apple-darwin11-llvm-gcc-4.2 gstglmixer.h:43: error: redefinition of typedef ‘GstGLMixer’ gstglmixerpad.h:32: error: previous declaration of ‘GstGLMixer’ was here gstglmixer.h:46: error: redefinition of typedef ‘GstGLMixerFrameData’ gstglmixerpad.h:33: error: previous declaration of ‘GstGLMixerFrameData’ was here --- diff --git a/ext/gl/gstglmixerpad.h b/ext/gl/gstglmixerpad.h index a57eb4d..a180c76 100644 --- a/ext/gl/gstglmixerpad.h +++ b/ext/gl/gstglmixerpad.h @@ -29,8 +29,8 @@ G_BEGIN_DECLS -typedef struct _GstGLMixer GstGLMixer; -typedef struct _GstGLMixerFrameData GstGLMixerFrameData; +struct _GstGLMixer; +struct _GstGLMixerFrameData; #define GST_TYPE_GL_MIXER_PAD (gst_gl_mixer_pad_get_type()) #define GST_GL_MIXER_PAD(obj) \ @@ -62,7 +62,7 @@ struct _GstGLMixerPadClass { GstVideoAggregatorPadClass parent_class; - GstBuffer * (*upload_buffer) (GstGLMixer * mix, GstGLMixerFrameData * frame, GstBuffer * buffer); + GstBuffer * (*upload_buffer) (struct _GstGLMixer * mix, struct _GstGLMixerFrameData * frame, GstBuffer * buffer); }; GType gst_gl_mixer_pad_get_type (void);