diff options
Diffstat (limited to 'ext/divx')
-rw-r--r-- | ext/divx/gstdivxdec.c | 5 | ||||
-rw-r--r-- | ext/divx/gstdivxenc.c | 5 |
2 files changed, 6 insertions, 4 deletions
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); } 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); |