Top |
gboolean | can-activate-pull | Read / Write |
gboolean | can-activate-push | Read / Write |
gboolean | dump | Read / Write |
gchar * | last-message | Read |
gint | num-buffers | Read / Write |
gboolean | signal-handoffs | Read / Write |
gboolean | silent | Read / Write |
GstFakeSinkStateError | state-error | Read / Write |
GObject ╰── GInitiallyUnowned ╰── GstObject ╰── GstElement ╰── GstBaseSink ╰── GstFakeSink
Dummy sink that swallows everything.
1 |
gst-launch-1.0 audiotestsrc num-buffers=1000 ! fakesink sync=false |
plugin |
coreelements |
author |
Erik Walthinsen <omega@cse.ogi.edu>, Wim Taymans <wim@fluendo.com>, Mr. 'frag-me-more' Vanderwingo <wingo@fluendo.com> |
class |
Sink |
Possible state change errors for the state-error property.
no error |
||
cause the NULL to READY state change to fail |
||
cause the READY to PAUSED state change to fail: |
||
cause the PAUSED to PLAYING state change to fail: |
||
cause the PLAYING to PAUSED state change to fail: |
||
cause the PAUSED to READY state change to fail: |
||
cause the READY to NULL state change to fail: |
“can-activate-pull”
property“can-activate-pull” gboolean
Can activate in pull mode.
Flags: Read / Write
Default value: FALSE
“can-activate-push”
property“can-activate-push” gboolean
Can activate in push mode.
Flags: Read / Write
Default value: TRUE
“dump”
property“dump” gboolean
Dump buffer contents to stdout.
Flags: Read / Write
Default value: FALSE
“last-message”
property“last-message” gchar *
The message describing current status.
Flags: Read
Default value: NULL
“num-buffers”
property“num-buffers” gint
Number of buffers to accept going EOS.
Flags: Read / Write
Allowed values: >= G_MAXULONG
Default value: -1
“signal-handoffs”
property“signal-handoffs” gboolean
Send a signal before unreffing the buffer.
Flags: Read / Write
Default value: FALSE
“silent”
property“silent” gboolean
Don't produce last_message events.
Flags: Read / Write
Default value: TRUE
“state-error”
property“state-error” GstFakeSinkStateError
Generate a state change error.
Flags: Read / Write
Default value: No state change errors
“handoff”
signalvoid user_function (GstFakeSink *fakesink, GstBuffer *buffer, GstPad *pad, gpointer user_data)
This signal gets emitted before unreffing the buffer.
fakesink |
the fakesink instance |
|
buffer |
the buffer that just has been received |
|
pad |
the pad that received it |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“preroll-handoff”
signalvoid user_function (GstFakeSink *fakesink, GstBuffer *buffer, GstPad *pad, gpointer user_data)
This signal gets emitted before unreffing the buffer.
fakesink |
the fakesink instance |
|
buffer |
the buffer that just has been received |
|
pad |
the pad that received it |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last