diff options
Diffstat (limited to 'gst/rtp/gstrtpdepay.c')
-rw-r--r-- | gst/rtp/gstrtpdepay.c | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/gst/rtp/gstrtpdepay.c b/gst/rtp/gstrtpdepay.c index ce98babe..23e60006 100644 --- a/gst/rtp/gstrtpdepay.c +++ b/gst/rtp/gstrtpdepay.c @@ -66,9 +66,6 @@ static GstFlowReturn gst_rtp_depay_chain_rtp (GstPad * pad, GstBuffer * buffer); static GstFlowReturn gst_rtp_depay_chain_rtcp (GstPad * pad, GstBuffer * buffer); -static GstStateChangeReturn gst_rtp_depay_change_state (GstElement * element, - GstStateChange transition); - static GstElementClass *parent_class = NULL; /*static guint gst_rtp_depay_signals[LAST_SIGNAL] = { 0 };*/ @@ -114,8 +111,6 @@ gst_rtp_depay_class_init (GstRTPDepayClass * klass) parent_class = g_type_class_peek_parent (klass); - gstelement_class->change_state = gst_rtp_depay_change_state; - GST_DEBUG_CATEGORY_INIT (rtpdepay_debug, "rtpdepay", 0, "RTP decoder"); } @@ -190,37 +185,6 @@ gst_rtp_depay_chain_rtcp (GstPad * pad, GstBuffer * buffer) return GST_FLOW_OK; } -static GstStateChangeReturn -gst_rtp_depay_change_state (GstElement * element, GstStateChange transition) -{ - GstStateChangeReturn ret; - GstRTPDepay *rtpdepay; - - rtpdepay = GST_RTP_DEPAY (element); - - /* - switch (transition) { - case GST_STATE_CHANGE_PAUSED_TO_READY: - break; - default: - break; - } - */ - - ret = GST_ELEMENT_CLASS (parent_class)->change_state (element, transition); - - /* - switch (transition) { - case GST_STATE_CHANGE_PAUSED_TO_READY: - break; - default: - break; - } - */ - - return ret; -} - gboolean gst_rtp_depay_plugin_init (GstPlugin * plugin) { |