From f80d73468efa96b815e0984567a747b3cb90b033 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 10 Nov 2011 13:45:39 +0100 Subject: [PATCH] appsink: fix header --- gst-libs/gst/app/gstappsink.h | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/gst-libs/gst/app/gstappsink.h b/gst-libs/gst/app/gstappsink.h index 3e0bc41..fde70a0 100644 --- a/gst-libs/gst/app/gstappsink.h +++ b/gst-libs/gst/app/gstappsink.h @@ -75,7 +75,7 @@ typedef struct { GstFlowReturn (*new_buffer_list) (GstAppSink *sink, gpointer user_data); /*< private >*/ - gpointer _gst_reserved[GST_PADDING - 1]; + gpointer _gst_reserved[GST_PADDING]; } GstAppSinkCallbacks; struct _GstAppSink @@ -94,20 +94,18 @@ struct _GstAppSinkClass GstBaseSinkClass basesink_class; /* signals */ - void (*eos) (GstAppSink *sink); - void (*new_preroll) (GstAppSink *sink); - void (*new_buffer) (GstAppSink *sink); + void (*eos) (GstAppSink *sink); + void (*new_preroll) (GstAppSink *sink); + void (*new_buffer) (GstAppSink *sink); + void (*new_buffer_list) (GstAppSink *sink); /* actions */ GstBuffer * (*pull_preroll) (GstAppSink *sink); GstBuffer * (*pull_buffer) (GstAppSink *sink); - - /* ABI added */ - GstBufferList * (*new_buffer_list) (GstAppSink *sink); GstBufferList * (*pull_buffer_list) (GstAppSink *sink); /*< private >*/ - gpointer _gst_reserved[GST_PADDING - 2]; + gpointer _gst_reserved[GST_PADDING]; }; GType gst_app_sink_get_type(void); -- 2.7.4