diff options
Diffstat (limited to 'gst/rtp/gstrtptheoradepay.c')
-rw-r--r-- | gst/rtp/gstrtptheoradepay.c | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/gst/rtp/gstrtptheoradepay.c b/gst/rtp/gstrtptheoradepay.c index 53a4abfb..49e6284e 100644 --- a/gst/rtp/gstrtptheoradepay.c +++ b/gst/rtp/gstrtptheoradepay.c @@ -79,9 +79,6 @@ static GstBuffer *gst_rtp_theora_depay_process (GstBaseRTPDepayload * depayload, static void gst_rtp_theora_depay_finalize (GObject * object); -static GstStateChangeReturn gst_rtp_theora_depay_change_state (GstElement * - element, GstStateChange transition); - static void gst_rtp_theora_depay_base_init (gpointer klass) @@ -100,17 +97,13 @@ static void gst_rtp_theora_depay_class_init (GstRtpTheoraDepayClass * klass) { GObjectClass *gobject_class; - GstElementClass *gstelement_class; GstBaseRTPDepayloadClass *gstbasertpdepayload_class; gobject_class = (GObjectClass *) klass; - gstelement_class = (GstElementClass *) klass; gstbasertpdepayload_class = (GstBaseRTPDepayloadClass *) klass; gobject_class->finalize = gst_rtp_theora_depay_finalize; - gstelement_class->change_state = gst_rtp_theora_depay_change_state; - gstbasertpdepayload_class->process = gst_rtp_theora_depay_process; gstbasertpdepayload_class->set_caps = gst_rtp_theora_depay_setcaps; @@ -591,35 +584,6 @@ length_short: } } -static GstStateChangeReturn -gst_rtp_theora_depay_change_state (GstElement * element, - GstStateChange transition) -{ - GstRtpTheoraDepay *rtptheoradepay; - GstStateChangeReturn ret; - - rtptheoradepay = GST_RTP_THEORA_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_theora_depay_plugin_init (GstPlugin * plugin) { |