diff options
Diffstat (limited to 'gst/rtp/gstrtph263ppay.c')
-rw-r--r-- | gst/rtp/gstrtph263ppay.c | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/gst/rtp/gstrtph263ppay.c b/gst/rtp/gstrtph263ppay.c index a875ed077..192466d5c 100644 --- a/gst/rtp/gstrtph263ppay.c +++ b/gst/rtp/gstrtph263ppay.c @@ -75,8 +75,8 @@ static void gst_rtph263penc_set_property (GObject * object, guint prop_id, static void gst_rtph263penc_get_property (GObject * object, guint prop_id, GValue * value, GParamSpec * pspec); -static GstElementStateReturn gst_rtph263penc_change_state (GstElement * - element); +static GstStateChangeReturn gst_rtph263penc_change_state (GstElement * + element, GstStateChange transition); static GstElementClass *parent_class = NULL; @@ -298,27 +298,25 @@ gst_rtph263penc_get_property (GObject * object, guint prop_id, GValue * value, } } -static GstElementStateReturn -gst_rtph263penc_change_state (GstElement * element) +static GstStateChangeReturn +gst_rtph263penc_change_state (GstElement * element, GstStateChange transition) { GstRtpH263PEnc *rtph263penc; - gint transition; - GstElementStateReturn ret; + GstStateChangeReturn ret; rtph263penc = GST_RTP_H263P_ENC (element); - transition = GST_STATE_TRANSITION (element); switch (transition) { - case GST_STATE_NULL_TO_READY: + case GST_STATE_CHANGE_NULL_TO_READY: break; default: break; } - ret = GST_ELEMENT_CLASS (parent_class)->change_state (element); + ret = GST_ELEMENT_CLASS (parent_class)->change_state (element, transition); switch (transition) { - case GST_STATE_READY_TO_NULL: + case GST_STATE_CHANGE_READY_TO_NULL: break; default: break; |