| GStreamer Base Plugins 1.0 Plugins Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | Signals | ||||
GObject +----GInitiallyUnowned +----GstObject +----GstElement +----GstBaseSink +----GstAppSink
"caps" GstCaps* : Read / Write "drop" gboolean : Read / Write "emit-signals" gboolean : Read / Write "eos" gboolean : Read "max-buffers" guint : Read / Write
"eos" :Run Last"new-buffer" :Run Last"new-preroll" :Run Last"pull-buffer" :Action"pull-preroll" :Action"new-buffer-list" :Run Last"pull-buffer-list" :Action"new-sample" :Run Last"pull-sample" :Action
Appsink is a sink plugin that supports many different methods for making the application get a handle on the GStreamer data in a pipeline. Unlike most GStreamer elements, Appsink provides external API functions.
For the documentation of the API, please see the libgstapp section in the GStreamer Plugins Base Libraries documentation.
plugin |
app |
author |
David Schleef <ds@schleef.org>, Wim Taymans <wim.taymans@gmail.com> |
class |
Generic/Sink |
"drop" property"drop" gboolean : Read / Write
Drop old buffers when the buffer queue is filled.
Default value: FALSE
"emit-signals" property"emit-signals" gboolean : Read / Write
Emit new-preroll and new-sample signals.
Default value: FALSE
"eos" property"eos" gboolean : Read
Check if the sink is EOS or not started.
Default value: TRUE
"max-buffers" property"max-buffers" guint : Read / Write
The maximum number of buffers to queue internally (0 = unlimited).
Default value: 0
"eos" signalvoid user_function (GstAppSink *gstappsink,
gpointer user_data) : Run Last
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
"new-buffer" signalvoid user_function (GstAppSink *gstappsink,
gpointer user_data) : Run Last
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
"new-preroll" signalGstFlowReturn user_function (GstAppSink *gstappsink,
gpointer user_data) : Run Last
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
"pull-buffer" signalGstBuffer* user_function (GstAppSink *gstappsink,
gpointer user_data) : Action
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
"pull-preroll" signalGstSample* user_function (GstAppSink *gstappsink,
gpointer user_data) : Action
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
"new-buffer-list" signalvoid user_function (GstAppSink *gstappsink,
gpointer user_data) : Run Last
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
"pull-buffer-list" signalGstBufferList* user_function (GstAppSink *gstappsink,
gpointer user_data) : Action
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
"new-sample" signalGstFlowReturn user_function (GstAppSink *gstappsink,
gpointer user_data) : Run Last
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
"pull-sample" signalGstSample* user_function (GstAppSink *gstappsink,
gpointer user_data) : Action
|
the object which received the signal. |
|
user data set when the signal handler was connected. |