diff options
author | Edward Hervey <bilboed@bilboed.com> | 2009-04-18 17:52:00 +0200 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2009-04-18 18:51:27 +0200 |
commit | cdb03bdc2b4548909f3f47eec6dfbbb3b5159411 (patch) | |
tree | 9558cc9ae99748c9754a47a60ef6ebee4fccd0ee /gst/rtp/gstrtpmp1sdepay.c | |
parent | 4a9e80720acc41d8f335220f36d0c7ab11f03f25 (diff) |
Remove blank {set|get}_property/change_state/finalize methods.
Diffstat (limited to 'gst/rtp/gstrtpmp1sdepay.c')
-rw-r--r-- | gst/rtp/gstrtpmp1sdepay.c | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/gst/rtp/gstrtpmp1sdepay.c b/gst/rtp/gstrtpmp1sdepay.c index 6e666736..6ca6a9bd 100644 --- a/gst/rtp/gstrtpmp1sdepay.c +++ b/gst/rtp/gstrtpmp1sdepay.c @@ -77,15 +77,6 @@ static gboolean gst_rtp_mp1s_depay_setcaps (GstBaseRTPDepayload * depayload, static GstBuffer *gst_rtp_mp1s_depay_process (GstBaseRTPDepayload * depayload, GstBuffer * buf); -static void gst_rtp_mp1s_depay_set_property (GObject * object, guint prop_id, - const GValue * value, GParamSpec * pspec); -static void gst_rtp_mp1s_depay_get_property (GObject * object, guint prop_id, - GValue * value, GParamSpec * pspec); - -static GstStateChangeReturn gst_rtp_mp1s_depay_change_state (GstElement * - element, GstStateChange transition); - - static void gst_rtp_mp1s_depay_base_init (gpointer klass) { @@ -102,13 +93,8 @@ gst_rtp_mp1s_depay_base_init (gpointer klass) static void gst_rtp_mp1s_depay_class_init (GstRtpMP1SDepayClass * klass) { - GObjectClass *gobject_class; - GstElementClass *gstelement_class; GstBaseRTPDepayloadClass *gstbasertpdepayload_class; - gobject_class = (GObjectClass *) klass; - gstelement_class = (GstElementClass *) klass; - gstbasertpdepayload_class = (GstBaseRTPDepayloadClass *) klass; parent_class = g_type_class_peek_parent (klass); @@ -116,10 +102,6 @@ gst_rtp_mp1s_depay_class_init (GstRtpMP1SDepayClass * klass) gstbasertpdepayload_class->process = gst_rtp_mp1s_depay_process; gstbasertpdepayload_class->set_caps = gst_rtp_mp1s_depay_setcaps; - gobject_class->set_property = gst_rtp_mp1s_depay_set_property; - gobject_class->get_property = gst_rtp_mp1s_depay_get_property; - - gstelement_class->change_state = gst_rtp_mp1s_depay_change_state; } static void @@ -168,65 +150,6 @@ gst_rtp_mp1s_depay_process (GstBaseRTPDepayload * depayload, GstBuffer * buf) return outbuf; } -static void -gst_rtp_mp1s_depay_set_property (GObject * object, guint prop_id, - const GValue * value, GParamSpec * pspec) -{ - GstRtpMP1SDepay *rtpmp1sdepay; - - rtpmp1sdepay = GST_RTP_MP1S_DEPAY (object); - - switch (prop_id) { - default: - G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); - break; - } -} - -static void -gst_rtp_mp1s_depay_get_property (GObject * object, guint prop_id, - GValue * value, GParamSpec * pspec) -{ - GstRtpMP1SDepay *rtpmp1sdepay; - - rtpmp1sdepay = GST_RTP_MP1S_DEPAY (object); - - switch (prop_id) { - default: - G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); - break; - } -} - -static GstStateChangeReturn -gst_rtp_mp1s_depay_change_state (GstElement * element, - GstStateChange transition) -{ - GstRtpMP1SDepay *rtpmp1sdepay; - GstStateChangeReturn ret; - - rtpmp1sdepay = GST_RTP_MP1S_DEPAY (element); - - switch (transition) { - case GST_STATE_CHANGE_NULL_TO_READY: - break; - case GST_STATE_CHANGE_READY_TO_PAUSED: - break; - default: - break; - } - - ret = GST_ELEMENT_CLASS (parent_class)->change_state (element, transition); - - switch (transition) { - case GST_STATE_CHANGE_READY_TO_NULL: - break; - default: - break; - } - return ret; -} - gboolean gst_rtp_mp1s_depay_plugin_init (GstPlugin * plugin) { |