diff --git a/gst-libs/gst/app/gstappsink.h b/gst-libs/gst/app/gstappsink.h index d16a8601ef..f3df305269 100644 --- a/gst-libs/gst/app/gstappsink.h +++ b/gst-libs/gst/app/gstappsink.h @@ -64,12 +64,13 @@ typedef struct _GstAppSinkPrivate GstAppSinkPrivate; * Since: 0.10.23 */ typedef struct { - void (*eos) (GstAppSink *sink, gpointer user_data); - GstFlowReturn (*new_preroll) (GstAppSink *sink, gpointer user_data); - GstFlowReturn (*new_buffer) (GstAppSink *sink, gpointer user_data); + void (*eos) (GstAppSink *sink, gpointer user_data); + GstFlowReturn (*new_preroll) (GstAppSink *sink, gpointer user_data); + GstFlowReturn (*new_buffer) (GstAppSink *sink, gpointer user_data); + GstFlowReturn (*new_buffer_list) (GstAppSink *sink, gpointer user_data); /*< private >*/ - gpointer _gst_reserved[GST_PADDING]; + gpointer _gst_reserved[GST_PADDING - 1]; } GstAppSinkCallbacks; struct _GstAppSink @@ -93,11 +94,12 @@ struct _GstAppSinkClass void (*new_buffer) (GstAppSink *sink); /* actions */ - GstBuffer * (*pull_preroll) (GstAppSink *sink); - GstBuffer * (*pull_buffer) (GstAppSink *sink); + GstBuffer * (*pull_preroll) (GstAppSink *sink); + GstBuffer * (*pull_buffer) (GstAppSink *sink); + GstBufferList * (*pull_buffer_list) (GstAppSink *sink); /*< private >*/ - gpointer _gst_reserved[GST_PADDING]; + gpointer _gst_reserved[GST_PADDING - 1]; }; GType gst_app_sink_get_type(void); @@ -118,6 +120,7 @@ gboolean gst_app_sink_get_drop (GstAppSink *appsink); GstBuffer * gst_app_sink_pull_preroll (GstAppSink *appsink); GstBuffer * gst_app_sink_pull_buffer (GstAppSink *appsink); +GstBufferList * gst_app_sink_pull_buffer_list (GstAppSink *appsink); void gst_app_sink_set_callbacks (GstAppSink * appsink, GstAppSinkCallbacks *callbacks,