mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
appsink: fix header
This commit is contained in:
parent
3fa654b41c
commit
f80d73468e
1 changed files with 6 additions and 8 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue