summaryrefslogtreecommitdiffstats
path: root/gst/rtp/gstrtpmpvdepay.c
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2009-04-18 17:52:00 +0200
committerEdward Hervey <bilboed@bilboed.com>2009-04-18 18:51:27 +0200
commitcdb03bdc2b4548909f3f47eec6dfbbb3b5159411 (patch)
tree9558cc9ae99748c9754a47a60ef6ebee4fccd0ee /gst/rtp/gstrtpmpvdepay.c
parent4a9e80720acc41d8f335220f36d0c7ab11f03f25 (diff)
Remove blank {set|get}_property/change_state/finalize methods.
Diffstat (limited to 'gst/rtp/gstrtpmpvdepay.c')
-rw-r--r--gst/rtp/gstrtpmpvdepay.c35
1 files changed, 0 insertions, 35 deletions
diff --git a/gst/rtp/gstrtpmpvdepay.c b/gst/rtp/gstrtpmpvdepay.c
index beb5237e..c03f4055 100644
--- a/gst/rtp/gstrtpmpvdepay.c
+++ b/gst/rtp/gstrtpmpvdepay.c
@@ -68,9 +68,6 @@ static gboolean gst_rtp_mpv_depay_setcaps (GstBaseRTPDepayload * depayload,
static GstBuffer *gst_rtp_mpv_depay_process (GstBaseRTPDepayload * depayload,
GstBuffer * buf);
-static GstStateChangeReturn gst_rtp_mpv_depay_change_state (GstElement *
- element, GstStateChange transition);
-
static void
gst_rtp_mpv_depay_base_init (gpointer klass)
{
@@ -87,18 +84,12 @@ gst_rtp_mpv_depay_base_init (gpointer klass)
static void
gst_rtp_mpv_depay_class_init (GstRtpMPVDepayClass * 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);
- gstelement_class->change_state = gst_rtp_mpv_depay_change_state;
-
gstbasertpdepayload_class->set_caps = gst_rtp_mpv_depay_setcaps;
gstbasertpdepayload_class->process = gst_rtp_mpv_depay_process;
@@ -212,32 +203,6 @@ empty_packet:
}
}
-static GstStateChangeReturn
-gst_rtp_mpv_depay_change_state (GstElement * element, GstStateChange transition)
-{
- GstRtpMPVDepay *rtpmpvdepay;
- GstStateChangeReturn ret;
-
- rtpmpvdepay = GST_RTP_MPV_DEPAY (element);
-
- switch (transition) {
- case GST_STATE_CHANGE_NULL_TO_READY:
- 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_mpv_depay_plugin_init (GstPlugin * plugin)
{