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