From e7f919986a6834383478991af77982507f023e3d Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Wed, 9 Jan 2008 11:11:01 +0000 Subject: gst/rtp/: Remove copy/paste unused code (property setters and getter) found by the coverage suite (yay, saves ~20k on... Original commit message from CVS: * gst/rtp/gstasteriskh263.c: * gst/rtp/gstrtpL16depay.c: * gst/rtp/gstrtpac3depay.c: * gst/rtp/gstrtpamrpay.c: * gst/rtp/gstrtpdepay.c: * gst/rtp/gstrtpgsmdepay.c: * gst/rtp/gstrtph263depay.c: * gst/rtp/gstrtph263pdepay.c: * gst/rtp/gstrtph263ppay.c: * gst/rtp/gstrtph264depay.c: * gst/rtp/gstrtph264pay.c: * gst/rtp/gstrtpmp2tdepay.c: * gst/rtp/gstrtpmp4adepay.c: * gst/rtp/gstrtpmp4gdepay.c: * gst/rtp/gstrtpmp4gpay.c: * gst/rtp/gstrtpmp4vdepay.c: * gst/rtp/gstrtpmpadepay.c: * gst/rtp/gstrtpmpvdepay.c: * gst/rtp/gstrtpsv3vdepay.c: * gst/rtp/gstrtptheoradepay.c: * gst/rtp/gstrtptheorapay.c: * gst/rtp/gstrtpvorbisdepay.c: * gst/rtp/gstrtpvorbispay.c: Remove copy/paste unused code (property setters and getter) found by the coverage suite (yay, saves ~20k on disk). --- gst/rtp/gstrtph263pdepay.c | 50 ---------------------------------------------- 1 file changed, 50 deletions(-) (limited to 'gst/rtp/gstrtph263pdepay.c') diff --git a/gst/rtp/gstrtph263pdepay.c b/gst/rtp/gstrtph263pdepay.c index b01e7997..082d26f6 100644 --- a/gst/rtp/gstrtph263pdepay.c +++ b/gst/rtp/gstrtph263pdepay.c @@ -33,19 +33,6 @@ GST_ELEMENT_DETAILS ("RTP packet depayloader", "Extracts H263/+/++ video from RTP packets (RFC 4629)", "Wim Taymans "); -/* RtpH263PDepay signals and args */ -enum -{ - /* FILL ME */ - LAST_SIGNAL -}; - -enum -{ - ARG_0, - ARG_FREQUENCY -}; - static GstStaticPadTemplate gst_rtp_h263p_depay_src_template = GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_SRC, @@ -100,10 +87,6 @@ GST_BOILERPLATE (GstRtpH263PDepay, gst_rtp_h263p_depay, GstBaseRTPDepayload, GST_TYPE_BASE_RTP_DEPAYLOAD); static void gst_rtp_h263p_depay_finalize (GObject * object); -static void gst_rtp_h263p_depay_set_property (GObject * object, guint prop_id, - const GValue * value, GParamSpec * pspec); -static void gst_rtp_h263p_depay_get_property (GObject * object, guint prop_id, - GValue * value, GParamSpec * pspec); static GstStateChangeReturn gst_rtp_h263p_depay_change_state (GstElement * element, GstStateChange transition); @@ -145,9 +128,6 @@ gst_rtp_h263p_depay_class_init (GstRtpH263PDepayClass * klass) gobject_class->finalize = gst_rtp_h263p_depay_finalize; - gobject_class->set_property = gst_rtp_h263p_depay_set_property; - gobject_class->get_property = gst_rtp_h263p_depay_get_property; - gstelement_class->change_state = gst_rtp_h263p_depay_change_state; } @@ -370,36 +350,6 @@ waiting_start: } } -static void -gst_rtp_h263p_depay_set_property (GObject * object, guint prop_id, - const GValue * value, GParamSpec * pspec) -{ - GstRtpH263PDepay *rtph263pdepay; - - rtph263pdepay = GST_RTP_H263P_DEPAY (object); - - switch (prop_id) { - default: - G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); - break; - } -} - -static void -gst_rtp_h263p_depay_get_property (GObject * object, guint prop_id, - GValue * value, GParamSpec * pspec) -{ - GstRtpH263PDepay *rtph263pdepay; - - rtph263pdepay = GST_RTP_H263P_DEPAY (object); - - switch (prop_id) { - default: - G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); - break; - } -} - static GstStateChangeReturn gst_rtp_h263p_depay_change_state (GstElement * element, GstStateChange transition) -- cgit