mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +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().
|
* gst_app_sink_set_callbacks().
|
||||||
*/
|
*/
|
||||||
typedef struct {
|
typedef struct {
|
||||||
void (*eos) (GstAppSink *sink, gpointer user_data);
|
void (*eos) (GstAppSink *appsink, gpointer user_data);
|
||||||
GstFlowReturn (*new_preroll) (GstAppSink *sink, gpointer user_data);
|
GstFlowReturn (*new_preroll) (GstAppSink *appsink, gpointer user_data);
|
||||||
GstFlowReturn (*new_sample) (GstAppSink *sink, gpointer user_data);
|
GstFlowReturn (*new_sample) (GstAppSink *appsink, gpointer user_data);
|
||||||
|
|
||||||
/*< private >*/
|
/*< private >*/
|
||||||
gpointer _gst_reserved[GST_PADDING];
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
|
@ -85,13 +85,13 @@ struct _GstAppSinkClass
|
||||||
GstBaseSinkClass basesink_class;
|
GstBaseSinkClass basesink_class;
|
||||||
|
|
||||||
/* signals */
|
/* signals */
|
||||||
void (*eos) (GstAppSink *sink);
|
void (*eos) (GstAppSink *appsink);
|
||||||
void (*new_preroll) (GstAppSink *sink);
|
void (*new_preroll) (GstAppSink *appsink);
|
||||||
void (*new_sample) (GstAppSink *sink);
|
void (*new_sample) (GstAppSink *appsink);
|
||||||
|
|
||||||
/* actions */
|
/* actions */
|
||||||
GstSample * (*pull_preroll) (GstAppSink *sink);
|
GstSample * (*pull_preroll) (GstAppSink *appsink);
|
||||||
GstSample * (*pull_sample) (GstAppSink *sink);
|
GstSample * (*pull_sample) (GstAppSink *appsink);
|
||||||
|
|
||||||
/*< private >*/
|
/*< private >*/
|
||||||
gpointer _gst_reserved[GST_PADDING];
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
|
|
|
@ -100,13 +100,13 @@ struct _GstAppSrcClass
|
||||||
GstBaseSrcClass basesrc_class;
|
GstBaseSrcClass basesrc_class;
|
||||||
|
|
||||||
/* signals */
|
/* signals */
|
||||||
void (*need_data) (GstAppSrc *src, guint length);
|
void (*need_data) (GstAppSrc *appsrc, guint length);
|
||||||
void (*enough_data) (GstAppSrc *src);
|
void (*enough_data) (GstAppSrc *appsrc);
|
||||||
gboolean (*seek_data) (GstAppSrc *src, guint64 offset);
|
gboolean (*seek_data) (GstAppSrc *appsrc, guint64 offset);
|
||||||
|
|
||||||
/* actions */
|
/* actions */
|
||||||
GstFlowReturn (*push_buffer) (GstAppSrc *src, GstBuffer *buffer);
|
GstFlowReturn (*push_buffer) (GstAppSrc *appsrc, GstBuffer *buffer);
|
||||||
GstFlowReturn (*end_of_stream) (GstAppSrc *src);
|
GstFlowReturn (*end_of_stream) (GstAppSrc *appsrc);
|
||||||
|
|
||||||
/*< private >*/
|
/*< private >*/
|
||||||
gpointer _gst_reserved[GST_PADDING];
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
|
|
Loading…
Reference in a new issue