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
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-04-15 15:46:44 +0200
commite539615c790ab9cdc2de647a3786e706a89c04d5 (patch)
treeacb7c9b9e45431e01d25af682f44aeb748575936 /gst/deinterlace2/gstdeinterlace2.h
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/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;