diff options
author | Stefan Kost <ensonic@users.sourceforge.net> | 2008-01-09 11:11:01 +0000 |
---|---|---|
committer | Stefan Kost <ensonic@users.sourceforge.net> | 2008-01-09 11:11:01 +0000 |
commit | e7f919986a6834383478991af77982507f023e3d (patch) | |
tree | 74ecfff6075aa46612d01f8c8b5e00e1eefce2cc /gst/rtp/gstrtptheoradepay.c | |
parent | a895112c29c36e8847dc4a5edade43824e36a191 (diff) |
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).
Diffstat (limited to 'gst/rtp/gstrtptheoradepay.c')
-rw-r--r-- | gst/rtp/gstrtptheoradepay.c | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/gst/rtp/gstrtptheoradepay.c b/gst/rtp/gstrtptheoradepay.c index a8a642e6..ab364b93 100644 --- a/gst/rtp/gstrtptheoradepay.c +++ b/gst/rtp/gstrtptheoradepay.c @@ -37,18 +37,6 @@ GST_ELEMENT_DETAILS ("RTP packet depayloader", "Extracts Theora video from RTP packets (draft-01 of RFC XXXX)", "Wim Taymans <wim@fluendo.com>"); -/* RtpTheoraDepay signals and args */ -enum -{ - /* FILL ME */ - LAST_SIGNAL -}; - -enum -{ - ARG_0, -}; - static GstStaticPadTemplate gst_rtp_theora_depay_sink_template = GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, @@ -87,10 +75,6 @@ static gboolean gst_rtp_theora_depay_setcaps (GstBaseRTPDepayload * depayload, static GstBuffer *gst_rtp_theora_depay_process (GstBaseRTPDepayload * depayload, GstBuffer * buf); -static void gst_rtp_theora_depay_set_property (GObject * object, guint prop_id, - const GValue * value, GParamSpec * pspec); -static void gst_rtp_theora_depay_get_property (GObject * object, guint prop_id, - GValue * value, GParamSpec * pspec); static void gst_rtp_theora_depay_finalize (GObject * object); static GstStateChangeReturn gst_rtp_theora_depay_change_state (GstElement * @@ -121,8 +105,6 @@ gst_rtp_theora_depay_class_init (GstRtpTheoraDepayClass * klass) gstelement_class = (GstElementClass *) klass; gstbasertpdepayload_class = (GstBaseRTPDepayloadClass *) klass; - gobject_class->set_property = gst_rtp_theora_depay_set_property; - gobject_class->get_property = gst_rtp_theora_depay_get_property; gobject_class->finalize = gst_rtp_theora_depay_finalize; gstelement_class->change_state = gst_rtp_theora_depay_change_state; @@ -670,36 +652,6 @@ length_short: } } -static void -gst_rtp_theora_depay_set_property (GObject * object, guint prop_id, - const GValue * value, GParamSpec * pspec) -{ - GstRtpTheoraDepay *rtptheoradepay; - - rtptheoradepay = GST_RTP_THEORA_DEPAY (object); - - switch (prop_id) { - default: - G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); - break; - } -} - -static void -gst_rtp_theora_depay_get_property (GObject * object, guint prop_id, - GValue * value, GParamSpec * pspec) -{ - GstRtpTheoraDepay *rtptheoradepay; - - rtptheoradepay = GST_RTP_THEORA_DEPAY (object); - - switch (prop_id) { - default: - G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); - break; - } -} - static GstStateChangeReturn gst_rtp_theora_depay_change_state (GstElement * element, GstStateChange transition) |