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/videoflip | |
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/videoflip')
-rw-r--r-- | gst/videoflip/gstvideoflip.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gst/videoflip/gstvideoflip.c b/gst/videoflip/gstvideoflip.c index efaa6dcd..d5013b81 100644 --- a/gst/videoflip/gstvideoflip.c +++ b/gst/videoflip/gstvideoflip.c @@ -56,7 +56,7 @@ static void gst_videoflip_init (GstVideoflip *videoflip); static void gst_videoflip_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void gst_videoflip_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); -static void gst_videoflip_chain (GstPad *pad, GstBuffer *buf); +static void gst_videoflip_chain (GstPad *pad, GstData *_data); static GstCaps * gst_videoflip_get_capslist(void); static GstElementClass *parent_class = NULL; @@ -341,8 +341,9 @@ gst_videoflip_init (GstVideoflip *videoflip) static void -gst_videoflip_chain (GstPad *pad, GstBuffer *buf) +gst_videoflip_chain (GstPad *pad, GstData *_data) { + GstBuffer *buf = GST_BUFFER (_data); GstVideoflip *videoflip; guchar *data; gulong size; @@ -361,7 +362,7 @@ gst_videoflip_chain (GstPad *pad, GstBuffer *buf) size = GST_BUFFER_SIZE(buf); if(videoflip->passthru){ - gst_pad_push(videoflip->srcpad, buf); + gst_pad_push(videoflip->srcpad, GST_DATA (buf)); return; } @@ -392,7 +393,7 @@ gst_videoflip_chain (GstPad *pad, GstBuffer *buf) GST_DEBUG ("gst_videoflip_chain: pushing buffer of %d bytes in '%s'",GST_BUFFER_SIZE(outbuf), GST_OBJECT_NAME (videoflip)); - gst_pad_push(videoflip->srcpad, outbuf); + gst_pad_push(videoflip->srcpad, GST_DATA (outbuf)); gst_buffer_unref(buf); } |