diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-04-15 15:46:44 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-05-13 10:34:03 +0200 |
commit | 8020c8758b18aba63af0554366fc6532cd01a3c9 (patch) | |
tree | d2a72ce7a1596880075c54cab54186da0c7e76bc /gst/deinterlace2/gstdeinterlace2.h | |
parent | d28f09abf7731d329102e508bb717f2b64074f5d (diff) |
[MOVED FROM BAD 48/56] deinterlace2: Move output buffer from the instance struct to a function parameter
Diffstat (limited to 'gst/deinterlace2/gstdeinterlace2.h')
-rw-r--r-- | gst/deinterlace2/gstdeinterlace2.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gst/deinterlace2/gstdeinterlace2.h b/gst/deinterlace2/gstdeinterlace2.h index 35cb55bf..ee40504b 100644 --- a/gst/deinterlace2/gstdeinterlace2.h +++ b/gst/deinterlace2/gstdeinterlace2.h @@ -74,7 +74,7 @@ struct _GstDeinterlaceMethodClass { guint fields_required; guint latency; - void (*deinterlace_frame) (GstDeinterlaceMethod *self, GstDeinterlace2 * parent); + void (*deinterlace_frame) (GstDeinterlaceMethod *self, GstDeinterlace2 * parent, GstBuffer *outbuf); const gchar *name; const gchar *nick; @@ -193,8 +193,6 @@ struct _GstDeinterlace2 GstPad *srcpad, *sinkpad; - guint history_count; - GstDeinterlace2FieldLayout field_layout; guint frame_size; @@ -215,9 +213,7 @@ struct _GstDeinterlace2 the program just started or a picture was skipped. */ GstPicture field_history[MAX_FIELD_HISTORY]; - - /* Current overlay buffer pointer. */ - GstBuffer *out_buf; + guint history_count; /* Overlay pitch (number of bytes between scanlines). */ guint output_stride; |