summaryrefslogtreecommitdiffstats
path: root/gst/deinterlace2/gstdeinterlace2.h
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-04-15 15:46:44 +0200
committerDave Robillard <dave@drobilla.net>2009-05-03 12:03:15 -0400
commita7e0e0004bc7c1763a2f0967eb18ec54845dd066 (patch)
tree3a98764327dfb63276eb73f004344f48ed2ef4b6 /gst/deinterlace2/gstdeinterlace2.h
parent1a4e5e722edb37023b597ee10df993fa48ea919d (diff)
downloadgst-plugins-bad-a7e0e0004bc7c1763a2f0967eb18ec54845dd066.tar.gz
gst-plugins-bad-a7e0e0004bc7c1763a2f0967eb18ec54845dd066.tar.bz2
gst-plugins-bad-a7e0e0004bc7c1763a2f0967eb18ec54845dd066.zip
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.h8
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;