appsink: fix header

This commit is contained in:
Wim Taymans 2011-11-10 13:45:39 +01:00
parent 3fa654b41c
commit f80d73468e

View file

@ -75,7 +75,7 @@ typedef struct {
GstFlowReturn (*new_buffer_list) (GstAppSink *sink, gpointer user_data); GstFlowReturn (*new_buffer_list) (GstAppSink *sink, gpointer user_data);
/*< private >*/ /*< private >*/
gpointer _gst_reserved[GST_PADDING - 1]; gpointer _gst_reserved[GST_PADDING];
} GstAppSinkCallbacks; } GstAppSinkCallbacks;
struct _GstAppSink struct _GstAppSink
@ -94,20 +94,18 @@ struct _GstAppSinkClass
GstBaseSinkClass basesink_class; GstBaseSinkClass basesink_class;
/* signals */ /* signals */
void (*eos) (GstAppSink *sink); void (*eos) (GstAppSink *sink);
void (*new_preroll) (GstAppSink *sink); void (*new_preroll) (GstAppSink *sink);
void (*new_buffer) (GstAppSink *sink); void (*new_buffer) (GstAppSink *sink);
void (*new_buffer_list) (GstAppSink *sink);
/* actions */ /* actions */
GstBuffer * (*pull_preroll) (GstAppSink *sink); GstBuffer * (*pull_preroll) (GstAppSink *sink);
GstBuffer * (*pull_buffer) (GstAppSink *sink); GstBuffer * (*pull_buffer) (GstAppSink *sink);
/* ABI added */
GstBufferList * (*new_buffer_list) (GstAppSink *sink);
GstBufferList * (*pull_buffer_list) (GstAppSink *sink); GstBufferList * (*pull_buffer_list) (GstAppSink *sink);
/*< private >*/ /*< private >*/
gpointer _gst_reserved[GST_PADDING - 2]; gpointer _gst_reserved[GST_PADDING];
}; };
GType gst_app_sink_get_type(void); GType gst_app_sink_get_type(void);