mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
appsrc, appsink: fix documentation syntax and mismatched arguments
This commit is contained in:
parent
a0a9ebba43
commit
e61a87ea1d
2 changed files with 13 additions and 13 deletions
|
@ -61,9 +61,9 @@ typedef struct _GstAppSinkPrivate GstAppSinkPrivate;
|
|||
* gst_app_sink_set_callbacks().
|
||||
*/
|
||||
typedef struct {
|
||||
void (*eos) (GstAppSink *sink, gpointer user_data);
|
||||
GstFlowReturn (*new_preroll) (GstAppSink *sink, gpointer user_data);
|
||||
GstFlowReturn (*new_sample) (GstAppSink *sink, gpointer user_data);
|
||||
void (*eos) (GstAppSink *appsink, gpointer user_data);
|
||||
GstFlowReturn (*new_preroll) (GstAppSink *appsink, gpointer user_data);
|
||||
GstFlowReturn (*new_sample) (GstAppSink *appsink, gpointer user_data);
|
||||
|
||||
/*< private >*/
|
||||
gpointer _gst_reserved[GST_PADDING];
|
||||
|
@ -85,13 +85,13 @@ struct _GstAppSinkClass
|
|||
GstBaseSinkClass basesink_class;
|
||||
|
||||
/* signals */
|
||||
void (*eos) (GstAppSink *sink);
|
||||
void (*new_preroll) (GstAppSink *sink);
|
||||
void (*new_sample) (GstAppSink *sink);
|
||||
void (*eos) (GstAppSink *appsink);
|
||||
void (*new_preroll) (GstAppSink *appsink);
|
||||
void (*new_sample) (GstAppSink *appsink);
|
||||
|
||||
/* actions */
|
||||
GstSample * (*pull_preroll) (GstAppSink *sink);
|
||||
GstSample * (*pull_sample) (GstAppSink *sink);
|
||||
GstSample * (*pull_preroll) (GstAppSink *appsink);
|
||||
GstSample * (*pull_sample) (GstAppSink *appsink);
|
||||
|
||||
/*< private >*/
|
||||
gpointer _gst_reserved[GST_PADDING];
|
||||
|
|
|
@ -100,13 +100,13 @@ struct _GstAppSrcClass
|
|||
GstBaseSrcClass basesrc_class;
|
||||
|
||||
/* signals */
|
||||
void (*need_data) (GstAppSrc *src, guint length);
|
||||
void (*enough_data) (GstAppSrc *src);
|
||||
gboolean (*seek_data) (GstAppSrc *src, guint64 offset);
|
||||
void (*need_data) (GstAppSrc *appsrc, guint length);
|
||||
void (*enough_data) (GstAppSrc *appsrc);
|
||||
gboolean (*seek_data) (GstAppSrc *appsrc, guint64 offset);
|
||||
|
||||
/* actions */
|
||||
GstFlowReturn (*push_buffer) (GstAppSrc *src, GstBuffer *buffer);
|
||||
GstFlowReturn (*end_of_stream) (GstAppSrc *src);
|
||||
GstFlowReturn (*push_buffer) (GstAppSrc *appsrc, GstBuffer *buffer);
|
||||
GstFlowReturn (*end_of_stream) (GstAppSrc *appsrc);
|
||||
|
||||
/*< private >*/
|
||||
gpointer _gst_reserved[GST_PADDING];
|
||||
|
|
Loading…
Reference in a new issue