summaryrefslogtreecommitdiffstats
path: root/gst/filter/gstlpwsinc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/filter/gstlpwsinc.c')
-rw-r--r--gst/filter/gstlpwsinc.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gst/filter/gstlpwsinc.c b/gst/filter/gstlpwsinc.c
index 54eb81d3..18bebef7 100644
--- a/gst/filter/gstlpwsinc.c
+++ b/gst/filter/gstlpwsinc.c
@@ -101,7 +101,7 @@ static void gst_lpwsinc_set_property (GObject * object, guint prop_id,
static void gst_lpwsinc_get_property (GObject * object, guint prop_id,
GValue * value, GParamSpec * pspec);
-static void gst_lpwsinc_chain (GstPad * pad, GstBuffer * buf);
+static void gst_lpwsinc_chain (GstPad * pad, GstData *_data);
static GstPadLinkReturn
gst_lpwsinc_sink_connect (GstPad * pad, GstCaps * caps);
@@ -221,8 +221,9 @@ gst_lpwsinc_sink_connect (GstPad * pad, GstCaps * caps)
}
static void
-gst_lpwsinc_chain (GstPad * pad, GstBuffer * buf)
+gst_lpwsinc_chain (GstPad * pad, GstData *_data)
{
+ GstBuffer *buf = GST_BUFFER (_data);
GstLPWSinc *filter;
gfloat *src;
gfloat *input;
@@ -269,7 +270,7 @@ gst_lpwsinc_chain (GstPad * pad, GstBuffer * buf)
}
g_free (input);
- gst_pad_push (filter->srcpad, buf);
+ gst_pad_push (filter->srcpad, GST_DATA (buf));
}
static void