ext/amrnb/: State change function updates.

Original commit message from CVS:
* ext/amrnb/amrnbdec.c: (gst_amrnbdec_state_change):
* ext/amrnb/amrnbenc.c: (gst_amrnbenc_state_change):
* ext/amrnb/amrnbparse.c: (gst_amrnbparse_state_change):
State change function updates.
This commit is contained in:
Wim Taymans 2005-09-06 12:00:33 +00:00
parent 4730a09d4b
commit 3c02efe798
5 changed files with 17 additions and 7 deletions

View file

@ -1,3 +1,10 @@
2005-09-06 Wim Taymans <wim@fluendo.com>
* ext/amrnb/amrnbdec.c: (gst_amrnbdec_state_change):
* ext/amrnb/amrnbenc.c: (gst_amrnbenc_state_change):
* ext/amrnb/amrnbparse.c: (gst_amrnbparse_state_change):
State change function updates.
2005-09-05 Jan Schmidt <thaytan@mad.scientist.com> 2005-09-05 Jan Schmidt <thaytan@mad.scientist.com>
* ext/mpeg2dec/gstmpeg2dec.c: * ext/mpeg2dec/gstmpeg2dec.c:

2
common

@ -1 +1 @@
Subproject commit 54886902497be267fe1f1a3f9c4dc0245bc46175 Subproject commit 00cc4f5af95a15be55b8c1b3eed09f4738412f91

View file

@ -50,7 +50,8 @@ static void gst_amrnbdec_init (GstAmrnbDec * amrnbdec);
static GstFlowReturn gst_amrnbdec_chain (GstPad * pad, GstBuffer * buffer); static GstFlowReturn gst_amrnbdec_chain (GstPad * pad, GstBuffer * buffer);
static gboolean gst_amrnbdec_setcaps (GstPad * pad, GstCaps * caps); static gboolean gst_amrnbdec_setcaps (GstPad * pad, GstCaps * caps);
static GstStateChangeReturn gst_amrnbdec_state_change (GstElement * element); static GstStateChangeReturn gst_amrnbdec_state_change (GstElement * element,
GstStateChange transition);
static GstElementClass *parent_class = NULL; static GstElementClass *parent_class = NULL;
@ -226,7 +227,7 @@ not_negotiated:
} }
static GstStateChangeReturn static GstStateChangeReturn
gst_amrnbdec_state_change (GstElement * element) gst_amrnbdec_state_change (GstElement * element, GstStateChange transition)
{ {
GstAmrnbDec *amrnbdec; GstAmrnbDec *amrnbdec;
GstStateChangeReturn ret; GstStateChangeReturn ret;

View file

@ -47,7 +47,8 @@ static void gst_amrnbenc_finalize (GObject * object);
static GstFlowReturn gst_amrnbenc_chain (GstPad * pad, GstBuffer * buffer); static GstFlowReturn gst_amrnbenc_chain (GstPad * pad, GstBuffer * buffer);
static gboolean gst_amrnbenc_setcaps (GstPad * pad, GstCaps * caps); static gboolean gst_amrnbenc_setcaps (GstPad * pad, GstCaps * caps);
static GstStateChangeReturn gst_amrnbenc_state_change (GstElement * element); static GstStateChangeReturn gst_amrnbenc_state_change (GstElement * element,
GstStateChange transition);
static GstElementClass *parent_class = NULL; static GstElementClass *parent_class = NULL;
@ -237,7 +238,7 @@ not_negotiated:
} }
static GstStateChangeReturn static GstStateChangeReturn
gst_amrnbenc_state_change (GstElement * element) gst_amrnbenc_state_change (GstElement * element, GstStateChange transition)
{ {
GstAmrnbEnc *amrnbenc; GstAmrnbEnc *amrnbenc;
GstStateChangeReturn ret; GstStateChangeReturn ret;

View file

@ -56,7 +56,8 @@ static gboolean gst_amrnbparse_event (GstPad * pad, GstEvent * event);
static GstFlowReturn gst_amrnbparse_chain (GstPad * pad, GstBuffer * buffer); static GstFlowReturn gst_amrnbparse_chain (GstPad * pad, GstBuffer * buffer);
static void gst_amrnbparse_loop (GstPad * pad); static void gst_amrnbparse_loop (GstPad * pad);
static gboolean gst_amrnbparse_sink_activate (GstPad * sinkpad); static gboolean gst_amrnbparse_sink_activate (GstPad * sinkpad);
static GstStateChangeReturn gst_amrnbparse_state_change (GstElement * element); static GstStateChangeReturn gst_amrnbparse_state_change (GstElement * element,
GstStateChange transition);
static GstElementClass *parent_class = NULL; static GstElementClass *parent_class = NULL;
@ -473,7 +474,7 @@ gst_amrnbparse_sink_activate (GstPad * sinkpad)
} }
static GstStateChangeReturn static GstStateChangeReturn
gst_amrnbparse_state_change (GstElement * element) gst_amrnbparse_state_change (GstElement * element, GstStateChange transition)
{ {
GstAmrnbParse *amrnbparse; GstAmrnbParse *amrnbparse;
GstStateChangeReturn ret; GstStateChangeReturn ret;