| Top |
| GstCaps * | caps | Read / Write |
| gboolean | drop | Read / Write |
| gboolean | emit-signals | Read / Write |
| gboolean | eos | Read |
| guint | max-buffers | Read / Write |
| void | eos | Run Last |
| void | new-buffer | Run Last |
| GstFlowReturn | new-preroll | Run Last |
| GstBuffer* | pull-buffer | Action |
| GstSample* | pull-preroll | Action |
| void | new-buffer-list | Run Last |
| GstBufferList* | pull-buffer-list | Action |
| GstFlowReturn | new-sample | Run Last |
| GstSample* | pull-sample | Action |
GObject ╰── GInitiallyUnowned ╰── GstObject ╰── GstElement ╰── GstBaseSink ╰── GstAppSink
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 inthe 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
Drop old buffers when the buffer queue is filled.
Flags: Read / Write
Default value: FALSE
“emit-signals” property“emit-signals” gboolean
Emit new-preroll and new-sample signals.
Flags: Read / Write
Default value: FALSE
“eos” property“eos” gboolean
Check if the sink is EOS or not started.
Flags: Read
Default value: TRUE
“max-buffers” property“max-buffers” guint
The maximum number of buffers to queue internally (0 = unlimited).
Flags: Read / Write
Default value: 0
“eos” signalvoid user_function (GstAppSink *gstappsink, gpointer user_data)
gstappsink |
the object which received the signal. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“new-buffer” signalvoid user_function (GstAppSink *gstappsink, gpointer user_data)
gstappsink |
the object which received the signal. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“new-preroll” signalGstFlowReturn user_function (GstAppSink *gstappsink, gpointer user_data)
gstappsink |
the object which received the signal. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“pull-buffer” signalGstBuffer* user_function (GstAppSink *gstappsink, gpointer user_data)
gstappsink |
the object which received the signal. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Action
“pull-preroll” signalGstSample* user_function (GstAppSink *gstappsink, gpointer user_data)
gstappsink |
the object which received the signal. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Action
“new-buffer-list” signalvoid user_function (GstAppSink *gstappsink, gpointer user_data)
gstappsink |
the object which received the signal. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“pull-buffer-list” signalGstBufferList* user_function (GstAppSink *gstappsink, gpointer user_data)
gstappsink |
the object which received the signal. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Action
“new-sample” signalGstFlowReturn user_function (GstAppSink *gstappsink, gpointer user_data)
gstappsink |
the object which received the signal. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“pull-sample” signalGstSample* user_function (GstAppSink *gstappsink, gpointer user_data)
gstappsink |
the object which received the signal. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Action