summaryrefslogtreecommitdiffstats
path: root/ext/divx/gstdivxenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/divx/gstdivxenc.c')
-rw-r--r--ext/divx/gstdivxenc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/divx/gstdivxenc.c b/ext/divx/gstdivxenc.c
index 718b226d..3da3d6cf 100644
--- a/ext/divx/gstdivxenc.c
+++ b/ext/divx/gstdivxenc.c
@@ -339,8 +339,9 @@ gst_divxenc_dispose (GObject *object)
static void
gst_divxenc_chain (GstPad *pad,
- GstBuffer *buf)
+ GstData *_data)
{
+ GstBuffer *buf = GST_BUFFER (_data);
GstDivxEnc *divxenc;
GstBuffer *outbuf;
ENC_FRAME xframe;
@@ -376,7 +377,7 @@ gst_divxenc_chain (GstPad *pad,
GST_BUFFER_FLAG_SET(outbuf, GST_BUFFER_KEY_UNIT);
/* go out, multiply! */
- gst_pad_push(divxenc->srcpad, outbuf);
+ gst_pad_push(divxenc->srcpad, GST_DATA (outbuf));
/* proclaim destiny */
g_signal_emit(G_OBJECT(divxenc),gst_divxenc_signals[FRAME_ENCODED], 0);