summaryrefslogtreecommitdiffstats
path: root/gst/deinterlace2/tvtime/greedyh.c
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-04-15 15:46:44 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-04-15 15:46:44 +0200
commite539615c790ab9cdc2de647a3786e706a89c04d5 (patch)
treeacb7c9b9e45431e01d25af682f44aeb748575936 /gst/deinterlace2/tvtime/greedyh.c
parentb66a6f90beb4edb7cd96399880fae9892f827c11 (diff)
downloadgst-plugins-bad-e539615c790ab9cdc2de647a3786e706a89c04d5.tar.gz
gst-plugins-bad-e539615c790ab9cdc2de647a3786e706a89c04d5.tar.bz2
gst-plugins-bad-e539615c790ab9cdc2de647a3786e706a89c04d5.zip
deinterlace2: Move output buffer from the instance struct to a function parameter
Diffstat (limited to 'gst/deinterlace2/tvtime/greedyh.c')
-rw-r--r--gst/deinterlace2/tvtime/greedyh.c4
1 files changed, 2 insertions, 2 deletions
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.)