![]() |
![]() |
![]() |
GStreamer 0.9 Core Reference Manual | ![]() |
---|
GstFakeSinkGstFakeSink — black hole for data |
#include <gst/elements/gstfakesink.h> GstFakeSink; enum GstFakeSinkStateError;
"can-activate-pull" gboolean : Read / Write "can-activate-push" gboolean : Read / Write "dump" gboolean : Read / Write "last-message" gchararray : Read "signal-handoffs" gboolean : Read / Write "silent" gboolean : Read / Write "state-error" GstFakeSinkStateError : Read / Write "sync" gboolean : Read / Write
"handoff" void user_function (GstFakeSink *fakesink, GstBuffer buffer, GstPad *pad, gpointer user_data);
typedef enum { FAKE_SINK_STATE_ERROR_NONE = 0, FAKE_SINK_STATE_ERROR_NULL_READY, FAKE_SINK_STATE_ERROR_READY_PAUSED, FAKE_SINK_STATE_ERROR_PAUSED_PLAYING, FAKE_SINK_STATE_ERROR_PLAYING_PAUSED, FAKE_SINK_STATE_ERROR_PAUSED_READY, FAKE_SINK_STATE_ERROR_READY_NULL } GstFakeSinkStateError;
can-activate-pull
" property"can-activate-pull" gboolean : Read / Write
Can activate in pull mode.
Default value: FALSE
can-activate-push
" property"can-activate-push" gboolean : Read / Write
Can activate in push mode.
Default value: TRUE
dump
" property"dump" gboolean : Read / Write
Dump received bytes to stdout.
Default value: FALSE
last-message
" property"last-message" gchararray : Read
The message describing current status.
Default value: NULL
signal-handoffs
" property"signal-handoffs" gboolean : Read / Write
Send a signal before unreffing the buffer.
Default value: FALSE
silent
" property"silent" gboolean : Read / Write
Don't produce last_message events.
Default value: FALSE
state-error
" property"state-error" GstFakeSinkStateError : Read / Write
Generate a state change error.
Default value: 0
void 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. |
<< GstFakeSrc | GstFileSrc >> |