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/gstrtpmp4gpay.c | |
parent | 4a9e80720acc41d8f335220f36d0c7ab11f03f25 (diff) |
Remove blank {set|get}_property/change_state/finalize methods.
Diffstat (limited to 'gst/rtp/gstrtpmp4gpay.c')
-rw-r--r-- | gst/rtp/gstrtpmp4gpay.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/gst/rtp/gstrtpmp4gpay.c b/gst/rtp/gstrtpmp4gpay.c index 5cc7dac0..05b5b716 100644 --- a/gst/rtp/gstrtpmp4gpay.c +++ b/gst/rtp/gstrtpmp4gpay.c @@ -85,8 +85,6 @@ static void gst_rtp_mp4g_pay_finalize (GObject * object); static gboolean gst_rtp_mp4g_pay_setcaps (GstBaseRTPPayload * payload, GstCaps * caps); -static GstStateChangeReturn gst_rtp_mp4g_pay_change_state (GstElement * element, - GstStateChange transition); static GstFlowReturn gst_rtp_mp4g_pay_handle_buffer (GstBaseRTPPayload * payload, GstBuffer * buffer); @@ -134,19 +132,15 @@ static void gst_rtp_mp4g_pay_class_init (GstRtpMP4GPayClass * 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_mp4g_pay_finalize; - gstelement_class->change_state = gst_rtp_mp4g_pay_change_state; - gstbasertppayload_class->set_caps = gst_rtp_mp4g_pay_setcaps; gstbasertppayload_class->handle_buffer = gst_rtp_mp4g_pay_handle_buffer; @@ -550,29 +544,6 @@ gst_rtp_mp4g_pay_handle_buffer (GstBaseRTPPayload * basepayload, return ret; } -static GstStateChangeReturn -gst_rtp_mp4g_pay_change_state (GstElement * element, GstStateChange transition) -{ - GstRtpMP4GPay *rtpmp4gpay; - GstStateChangeReturn ret; - - rtpmp4gpay = GST_RTP_MP4G_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_mp4g_pay_plugin_init (GstPlugin * plugin) { |