From e539615c790ab9cdc2de647a3786e706a89c04d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 15 Apr 2009 15:46:44 +0200 Subject: deinterlace2: Move output buffer from the instance struct to a function parameter --- gst/deinterlace2/tvtime/greedyh.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gst/deinterlace2/tvtime/greedyh.c') diff --git a/gst/deinterlace2/tvtime/greedyh.c b/gst/deinterlace2/tvtime/greedyh.c index 619a9455..0b4dc463 100644 --- a/gst/deinterlace2/tvtime/greedyh.c +++ b/gst/deinterlace2/tvtime/greedyh.c @@ -235,7 +235,7 @@ greedyDScaler_C (GstDeinterlaceMethodGreedyH * self, uint8_t * L1, uint8_t * L2, static void deinterlace_frame_di_greedyh (GstDeinterlaceMethod * d_method, - GstDeinterlace2 * object) + GstDeinterlace2 * object, GstBuffer * outbuf) { GstDeinterlaceMethodGreedyH *self = GST_DEINTERLACE_METHOD_GREEDY_H (d_method); @@ -250,7 +250,7 @@ deinterlace_frame_di_greedyh (GstDeinterlaceMethod * d_method, unsigned char *L3; // ptr to Line3 unsigned char *L2P; // ptr to prev Line2 - unsigned char *Dest = GST_BUFFER_DATA (object->out_buf); + unsigned char *Dest = GST_BUFFER_DATA (outbuf); // copy first even line no matter what, and the first odd line if we're // processing an EVEN field. (note diff from other deint rtns.) -- cgit v1.2.1