From c07813ac2ca2a969ac4f46b7f2bcaee731f0ca79 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Wed, 8 Oct 2003 16:08:19 +0000 Subject: /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. --- ext/divx/gstdivxdec.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ext/divx/gstdivxdec.c') diff --git a/ext/divx/gstdivxdec.c b/ext/divx/gstdivxdec.c index e1cfd2c9..988a7ef2 100644 --- a/ext/divx/gstdivxdec.c +++ b/ext/divx/gstdivxdec.c @@ -264,8 +264,9 @@ gst_divxdec_dispose (GObject *object) static void gst_divxdec_chain (GstPad *pad, - GstBuffer *buf) + GstData *_data) { + GstBuffer *buf = GST_BUFFER (_data); GstDivxDec *divxdec; GstBuffer *outbuf; DEC_FRAME xframe; @@ -310,7 +311,7 @@ gst_divxdec_chain (GstPad *pad, return; } - gst_pad_push(divxdec->srcpad, outbuf); + gst_pad_push(divxdec->srcpad, GST_DATA (outbuf)); gst_buffer_unref(buf); } -- cgit v1.2.1