From 369f41913cce96658d7a0f26e02f58200ef40af3 Mon Sep 17 00:00:00 2001 From: Leo Singer Date: Sat, 18 Dec 2010 12:48:42 -0800 Subject: applemedia: fix compiler warning: redundant declaration of 'parent_class' GST_BOILERPLATE_FULL declares parent_class as well. https://bugzilla.gnome.org/show_bug.cgi?id=637532 --- sys/applemedia/miovideosrc.c | 2 -- sys/applemedia/qtkitvideosrc.m | 6 ++---- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'sys/applemedia') diff --git a/sys/applemedia/miovideosrc.c b/sys/applemedia/miovideosrc.c index a2d1fa6be..7b0e428c4 100644 --- a/sys/applemedia/miovideosrc.c +++ b/sys/applemedia/miovideosrc.c @@ -83,8 +83,6 @@ static void gst_mio_video_src_probe_interface_init (gpointer g_iface, static void gst_mio_video_src_init_interfaces (GType type); -static GstPushSrcClass *parent_class; - GST_BOILERPLATE_FULL (GstMIOVideoSrc, gst_mio_video_src, GstPushSrc, GST_TYPE_PUSH_SRC, gst_mio_video_src_init_interfaces); diff --git a/sys/applemedia/qtkitvideosrc.m b/sys/applemedia/qtkitvideosrc.m index 8e80cae8d..67388f051 100644 --- a/sys/applemedia/qtkitvideosrc.m +++ b/sys/applemedia/qtkitvideosrc.m @@ -86,7 +86,8 @@ typedef enum _QueueState { HAS_FRAME_OR_STOP_REQUEST, } QueueState; -static GstPushSrcClass * parent_class; +GST_BOILERPLATE (GstQTKitVideoSrc, gst_qtkit_video_src, GstPushSrc, + GST_TYPE_PUSH_SRC); @interface GstQTKitVideoSrcImpl : NSObject { GstElement *element; @@ -466,9 +467,6 @@ enum PROP_DEVICE_INDEX }; -GST_BOILERPLATE (GstQTKitVideoSrc, gst_qtkit_video_src, GstPushSrc, - GST_TYPE_PUSH_SRC); - static void gst_qtkit_video_src_finalize (GObject * obj); static void gst_qtkit_video_src_get_property (GObject * object, guint prop_id, GValue * value, GParamSpec * pspec); -- cgit v1.2.1