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/gstrtpmp4apay.c | |
parent | 4a9e80720acc41d8f335220f36d0c7ab11f03f25 (diff) |
Remove blank {set|get}_property/change_state/finalize methods.
Diffstat (limited to 'gst/rtp/gstrtpmp4apay.c')
-rw-r--r-- | gst/rtp/gstrtpmp4apay.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/gst/rtp/gstrtpmp4apay.c b/gst/rtp/gstrtpmp4apay.c index f4c9d255..e395b4ca 100644 --- a/gst/rtp/gstrtpmp4apay.c +++ b/gst/rtp/gstrtpmp4apay.c @@ -71,8 +71,6 @@ static void gst_rtp_mp4a_pay_finalize (GObject * object); static gboolean gst_rtp_mp4a_pay_setcaps (GstBaseRTPPayload * payload, GstCaps * caps); -static GstStateChangeReturn gst_rtp_mp4a_pay_change_state (GstElement * element, - GstStateChange transition); static GstFlowReturn gst_rtp_mp4a_pay_handle_buffer (GstBaseRTPPayload * payload, GstBuffer * buffer); @@ -120,19 +118,15 @@ static void gst_rtp_mp4a_pay_class_init (GstRtpMP4APayClass * klass) { GObjectClass *gobject_class; - GstElementClass *gstelement_class; GstBaseRTPPayloadClass *gstbasertppayload_class; gobject_class = (GObjectClass *) klass; - gstelement_class = (GstElementClass *) klass; gstbasertppayload_class = (GstBaseRTPPayloadClass *) klass; parent_class = g_type_class_peek_parent (klass); gobject_class->finalize = gst_rtp_mp4a_pay_finalize; - gstelement_class->change_state = gst_rtp_mp4a_pay_change_state; - gstbasertppayload_class->set_caps = gst_rtp_mp4a_pay_setcaps; gstbasertppayload_class->handle_buffer = gst_rtp_mp4a_pay_handle_buffer; @@ -453,29 +447,6 @@ gst_rtp_mp4a_pay_handle_buffer (GstBaseRTPPayload * basepayload, return ret; } -static GstStateChangeReturn -gst_rtp_mp4a_pay_change_state (GstElement * element, GstStateChange transition) -{ - GstRtpMP4APay *rtpmp4apay; - GstStateChangeReturn ret; - - rtpmp4apay = GST_RTP_MP4A_PAY (element); - - switch (transition) { - default: - break; - } - - ret = GST_ELEMENT_CLASS (parent_class)->change_state (element, transition); - - switch (transition) { - default: - break; - } - return ret; -} - - gboolean gst_rtp_mp4a_pay_plugin_init (GstPlugin * plugin) { |