summaryrefslogtreecommitdiffstats
path: root/gst/law/mulaw-decode.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/law/mulaw-decode.c')
-rw-r--r--gst/law/mulaw-decode.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gst/law/mulaw-decode.c b/gst/law/mulaw-decode.c
index abce597d..b9db0de8 100644
--- a/gst/law/mulaw-decode.c
+++ b/gst/law/mulaw-decode.c
@@ -40,7 +40,7 @@ static void gst_mulawdec_init (GstMuLawDec *mulawdec);
static void gst_mulawdec_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec);
static void gst_mulawdec_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec);
-static void gst_mulawdec_chain (GstPad *pad, GstBuffer *buf);
+static void gst_mulawdec_chain (GstPad *pad, GstData *_data);
static GstElementClass *parent_class = NULL;
@@ -125,8 +125,9 @@ gst_mulawdec_init (GstMuLawDec *mulawdec)
}
static void
-gst_mulawdec_chain (GstPad *pad,GstBuffer *buf)
+gst_mulawdec_chain (GstPad *pad,GstData *_data)
{
+ GstBuffer *buf = GST_BUFFER (_data);
GstMuLawDec *mulawdec;
gint16 *linear_data;
guint8 *mulaw_data;
@@ -149,7 +150,7 @@ gst_mulawdec_chain (GstPad *pad,GstBuffer *buf)
mulaw_decode(mulaw_data,linear_data,GST_BUFFER_SIZE(buf));
gst_buffer_unref(buf);
- gst_pad_push(mulawdec->srcpad,outbuf);
+ gst_pad_push(mulawdec->srcpad,GST_DATA (outbuf));
}
static void