diff options
author | Andy Wingo <wingo@pobox.com> | 2003-10-08 16:08:18 +0000 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2003-10-08 16:08:18 +0000 |
commit | f2d5cae8daade402e9d74a829d2b87283167aaa7 (patch) | |
tree | cbb13b82d43fa41ffaf6c93973e80c2f620ebf8e /gst/effectv | |
parent | 9246e543319c072c52fffa51259a2cf927c8dd43 (diff) |
/GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488.
Original commit message from CVS:
/GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488.
Diffstat (limited to 'gst/effectv')
-rw-r--r-- | gst/effectv/gstaging.c | 7 | ||||
-rw-r--r-- | gst/effectv/gstdice.c | 7 | ||||
-rw-r--r-- | gst/effectv/gstedge.c | 7 | ||||
-rw-r--r-- | gst/effectv/gstquark.c | 7 | ||||
-rw-r--r-- | gst/effectv/gstrev.c | 7 | ||||
-rw-r--r-- | gst/effectv/gstshagadelic.c | 7 | ||||
-rw-r--r-- | gst/effectv/gstvertigo.c | 7 | ||||
-rw-r--r-- | gst/effectv/gstwarp.c | 7 |
8 files changed, 32 insertions, 24 deletions
diff --git a/gst/effectv/gstaging.c b/gst/effectv/gstaging.c index 5967e478..003014b7 100644 --- a/gst/effectv/gstaging.c +++ b/gst/effectv/gstaging.c @@ -111,7 +111,7 @@ static void gst_agingtv_set_property (GObject * object, guint prop_id, static void gst_agingtv_get_property (GObject * object, guint prop_id, GValue * value, GParamSpec * pspec); -static void gst_agingtv_chain (GstPad * pad, GstBuffer * buf); +static void gst_agingtv_chain (GstPad * pad, GstData *_data); static GstElementClass *parent_class = NULL; /*static guint gst_agingtv_signals[LAST_SIGNAL] = { 0 }; */ @@ -342,8 +342,9 @@ aging_mode_switch (GstAgingTV *filter) } static void -gst_agingtv_chain (GstPad * pad, GstBuffer * buf) +gst_agingtv_chain (GstPad * pad, GstData *_data) { + GstBuffer *buf = GST_BUFFER (_data); GstAgingTV *filter; guint32 *src, *dest; GstBuffer *outbuf; @@ -365,7 +366,7 @@ gst_agingtv_chain (GstPad * pad, GstBuffer * buf) gst_buffer_unref (buf); - gst_pad_push (filter->srcpad, outbuf); + gst_pad_push (filter->srcpad, GST_DATA (outbuf)); } static void diff --git a/gst/effectv/gstdice.c b/gst/effectv/gstdice.c index 50c5b081..2856ecbe 100644 --- a/gst/effectv/gstdice.c +++ b/gst/effectv/gstdice.c @@ -102,7 +102,7 @@ static void gst_dicetv_set_property (GObject * object, guint prop_id, static void gst_dicetv_get_property (GObject * object, guint prop_id, GValue * value, GParamSpec * pspec); -static void gst_dicetv_chain (GstPad * pad, GstBuffer * buf); +static void gst_dicetv_chain (GstPad * pad, GstData *_data); static GstElementClass *parent_class = NULL; static guint gst_dicetv_signals[LAST_SIGNAL] = { 0 }; @@ -301,8 +301,9 @@ gst_dicetv_create_map (GstDiceTV *filter) } static void -gst_dicetv_chain (GstPad * pad, GstBuffer * buf) +gst_dicetv_chain (GstPad * pad, GstData *_data) { + GstBuffer *buf = GST_BUFFER (_data); GstDiceTV *filter; guint32 *src, *dest; GstBuffer *outbuf; @@ -320,7 +321,7 @@ gst_dicetv_chain (GstPad * pad, GstBuffer * buf) gst_buffer_unref (buf); - gst_pad_push (filter->srcpad, outbuf); + gst_pad_push (filter->srcpad, GST_DATA (outbuf)); } static void diff --git a/gst/effectv/gstedge.c b/gst/effectv/gstedge.c index 16cf9781..69f8c153 100644 --- a/gst/effectv/gstedge.c +++ b/gst/effectv/gstedge.c @@ -91,7 +91,7 @@ static void gst_edgetv_set_property (GObject * object, guint prop_id, static void gst_edgetv_get_property (GObject * object, guint prop_id, GValue * value, GParamSpec * pspec); -static void gst_edgetv_chain (GstPad * pad, GstBuffer * buf); +static void gst_edgetv_chain (GstPad * pad, GstData *_data); static GstElementClass *parent_class = NULL; /*static guint gst_edgetv_signals[LAST_SIGNAL] = { 0 }; */ @@ -171,8 +171,9 @@ gst_edgetv_init (GstEdgeTV * filter) } static void -gst_edgetv_chain (GstPad * pad, GstBuffer * buf) +gst_edgetv_chain (GstPad * pad, GstData *_data) { + GstBuffer *buf = GST_BUFFER (_data); GstEdgeTV *filter; int x, y; int r, g, b; @@ -269,7 +270,7 @@ gst_edgetv_chain (GstPad * pad, GstBuffer * buf) } gst_buffer_unref (buf); - gst_pad_push (filter->srcpad, outbuf); + gst_pad_push (filter->srcpad, GST_DATA (outbuf)); } static void diff --git a/gst/effectv/gstquark.c b/gst/effectv/gstquark.c index b520aa77..93e983d1 100644 --- a/gst/effectv/gstquark.c +++ b/gst/effectv/gstquark.c @@ -101,7 +101,7 @@ static void gst_quarktv_set_property (GObject * object, guint prop_id, static void gst_quarktv_get_property (GObject * object, guint prop_id, GValue * value, GParamSpec * pspec); -static void gst_quarktv_chain (GstPad * pad, GstBuffer * buf); +static void gst_quarktv_chain (GstPad * pad, GstData *_data); static GstElementClass *parent_class = NULL; /* static guint gst_quarktv_signals[LAST_SIGNAL] = { 0 }; */ @@ -200,8 +200,9 @@ gst_quarktv_init (GstQuarkTV * filter) } static void -gst_quarktv_chain (GstPad * pad, GstBuffer * buf) +gst_quarktv_chain (GstPad * pad, GstData *_data) { + GstBuffer *buf = GST_BUFFER (_data); GstQuarkTV *filter; guint32 *src, *dest; GstBuffer *outbuf; @@ -232,7 +233,7 @@ gst_quarktv_chain (GstPad * pad, GstBuffer * buf) dest[area] = (rand ? ((guint32 *)GST_BUFFER_DATA (rand))[area] : 0); } - gst_pad_push (filter->srcpad, outbuf); + gst_pad_push (filter->srcpad, GST_DATA (outbuf)); filter->current_plane--; diff --git a/gst/effectv/gstrev.c b/gst/effectv/gstrev.c index bfb2975b..001ab5dd 100644 --- a/gst/effectv/gstrev.c +++ b/gst/effectv/gstrev.c @@ -120,7 +120,7 @@ static void gst_revtv_set_property (GObject * object, guint prop_id, static void gst_revtv_get_property (GObject * object, guint prop_id, GValue * value, GParamSpec * pspec); -static void gst_revtv_chain (GstPad * pad, GstBuffer * buf); +static void gst_revtv_chain (GstPad * pad, GstData *_data); static GstElementClass *parent_class = NULL; /* static guint gst_revtv_signals[LAST_SIGNAL] = { 0 }; */ @@ -206,8 +206,9 @@ gst_revtv_init (GstRevTV * filter) static void -gst_revtv_chain (GstPad * pad, GstBuffer * buf) +gst_revtv_chain (GstPad * pad, GstData *_data) { + GstBuffer *buf = GST_BUFFER (_data); GstRevTV *filter; guint32 *src, *dest; GstBuffer *outbuf; @@ -248,7 +249,7 @@ gst_revtv_chain (GstPad * pad, GstBuffer * buf) gst_buffer_unref (buf); - gst_pad_push (filter->srcpad, outbuf); + gst_pad_push (filter->srcpad, GST_DATA (outbuf)); } static void diff --git a/gst/effectv/gstshagadelic.c b/gst/effectv/gstshagadelic.c index 84d681e9..1f792dbd 100644 --- a/gst/effectv/gstshagadelic.c +++ b/gst/effectv/gstshagadelic.c @@ -100,7 +100,7 @@ static void gst_shagadelictv_set_property (GObject * object, guint prop_id, static void gst_shagadelictv_get_property (GObject * object, guint prop_id, GValue * value, GParamSpec * pspec); -static void gst_shagadelictv_chain (GstPad * pad, GstBuffer * buf); +static void gst_shagadelictv_chain (GstPad * pad, GstData *_data); static GstElementClass *parent_class = NULL; /*static guint gst_shagadelictv_signals[LAST_SIGNAL] = { 0 }; */ @@ -250,8 +250,9 @@ int shagadelicDraw() return 0; } static void -gst_shagadelictv_chain (GstPad * pad, GstBuffer * buf) +gst_shagadelictv_chain (GstPad * pad, GstData *_data) { + GstBuffer *buf = GST_BUFFER (_data); GstShagadelicTV *filter; guint32 *src, *dest; GstBuffer *outbuf; @@ -300,7 +301,7 @@ gst_shagadelictv_chain (GstPad * pad, GstBuffer * buf) gst_buffer_unref (buf); - gst_pad_push (filter->srcpad, outbuf); + gst_pad_push (filter->srcpad, GST_DATA (outbuf)); } static void diff --git a/gst/effectv/gstvertigo.c b/gst/effectv/gstvertigo.c index d1bd5cc5..45a2b8fd 100644 --- a/gst/effectv/gstvertigo.c +++ b/gst/effectv/gstvertigo.c @@ -105,7 +105,7 @@ static void gst_vertigotv_set_property (GObject * object, guint prop_id, static void gst_vertigotv_get_property (GObject * object, guint prop_id, GValue * value, GParamSpec * pspec); -static void gst_vertigotv_chain (GstPad * pad, GstBuffer * buf); +static void gst_vertigotv_chain (GstPad * pad, GstData *_data); static GstElementClass *parent_class = NULL; static guint gst_vertigotv_signals[LAST_SIGNAL] = { 0 }; @@ -263,8 +263,9 @@ gst_vertigotv_set_parms (GstVertigoTV *filter) } static void -gst_vertigotv_chain (GstPad * pad, GstBuffer * buf) +gst_vertigotv_chain (GstPad * pad, GstData *_data) { + GstBuffer *buf = GST_BUFFER (_data); GstVertigoTV *filter; guint32 *src, *dest; GstBuffer *outbuf; @@ -315,7 +316,7 @@ gst_vertigotv_chain (GstPad * pad, GstBuffer * buf) gst_buffer_unref (buf); - gst_pad_push (filter->srcpad, outbuf); + gst_pad_push (filter->srcpad, GST_DATA (outbuf)); p = filter->current_buffer; filter->current_buffer = filter->alt_buffer; diff --git a/gst/effectv/gstwarp.c b/gst/effectv/gstwarp.c index c098ab62..f4bb281f 100644 --- a/gst/effectv/gstwarp.c +++ b/gst/effectv/gstwarp.c @@ -107,7 +107,7 @@ static void gst_warptv_set_property (GObject * object, guint prop_id, static void gst_warptv_get_property (GObject * object, guint prop_id, GValue * value, GParamSpec * pspec); -static void gst_warptv_chain (GstPad * pad, GstBuffer * buf); +static void gst_warptv_chain (GstPad * pad, GstData *_data); static GstElementClass *parent_class = NULL; /*static guint gst_warptv_signals[LAST_SIGNAL] = { 0 }; */ @@ -249,8 +249,9 @@ gst_warptv_initialize (GstWarpTV *filter) } static void -gst_warptv_chain (GstPad * pad, GstBuffer * buf) +gst_warptv_chain (GstPad * pad, GstData *_data) { + GstBuffer *buf = GST_BUFFER (_data); GstWarpTV *filter; guint32 *src, *dest; gint xw,yw,cw; @@ -312,7 +313,7 @@ gst_warptv_chain (GstPad * pad, GstBuffer * buf) gst_buffer_unref (buf); - gst_pad_push (filter->srcpad, outbuf); + gst_pad_push (filter->srcpad, GST_DATA (outbuf)); } static void |