mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 07:46:38 +00:00
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
This commit is contained in:
parent
699e0abd49
commit
369f41913c
2 changed files with 2 additions and 6 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue