Top |
Properties
gboolean | check-imperfect-offset | Read / Write |
gboolean | check-imperfect-timestamp | Read / Write |
gint | datarate | Read / Write |
gfloat | drop-probability | Read / Write |
gboolean | dump | Read / Write |
gint | error-after | Read / Write |
gchar * | last-message | Read |
gboolean | signal-handoffs | Read / Write |
gboolean | silent | Read / Write |
gboolean | single-segment | Read / Write |
guint | sleep-time | Read / Write |
gboolean | sync | Read / Write |
GstBufferFlags | drop-buffer-flags | Read / Write |
gint64 | ts-offset | Read / Write |
gboolean | drop-allocation | Read / Write |
Object Hierarchy
GObject ╰── GInitiallyUnowned ╰── GstObject ╰── GstElement ╰── GstBaseTransform ╰── GstIdentity
Description
Dummy element that passes incoming data through unmodified. It has some useful diagnostic functions, such as offset and timestamp checking.
Synopsis
Property Details
The “check-imperfect-offset”
property
“check-imperfect-offset” gboolean
Send element messages if offset and offset_end do not match up.
Flags: Read / Write
Default value: FALSE
The “check-imperfect-timestamp”
property
“check-imperfect-timestamp” gboolean
Send element messages if timestamps and durations do not match up.
Flags: Read / Write
Default value: FALSE
The “datarate”
property
“datarate” gint
(Re)timestamps buffers with number of bytes per second (0 = inactive).
Flags: Read / Write
Allowed values: >= 0
Default value: 0
The “drop-probability”
property
“drop-probability” gfloat
The Probability a buffer is dropped.
Flags: Read / Write
Allowed values: [0,1]
Default value: 0
The “dump”
property
“dump” gboolean
Dump buffer contents to stdout.
Flags: Read / Write
Default value: FALSE
The “error-after”
property
“error-after” gint
Error after N buffers.
Flags: Read / Write
Default value: -1
The “signal-handoffs”
property
“signal-handoffs” gboolean
If set to TRUE
, the identity will emit a handoff signal when handling a buffer.
When set to FALSE
, no signal will be emitted, which might improve performance.
Flags: Read / Write
Default value: TRUE
The “single-segment”
property
“single-segment” gboolean
Timestamp buffers and eat segments so as to appear as one segment.
Flags: Read / Write
Default value: FALSE
The “sleep-time”
property
“sleep-time” guint
Microseconds to sleep between processing.
Flags: Read / Write
Default value: 0
The “sync”
property
“sync” gboolean
Synchronize to pipeline clock.
Flags: Read / Write
Default value: FALSE
The “drop-buffer-flags”
property
“drop-buffer-flags” GstBufferFlags
Drop buffers with the given flags.
Flags: Read / Write
Since: 1.8
The “ts-offset”
property
“ts-offset” gint64
Timestamp offset in nanoseconds for synchronisation, negative for earlier sync.
Flags: Read / Write
Default value: 0
The “drop-allocation”
property
“drop-allocation” gboolean
Don't forward allocation queries.
Flags: Read / Write
Default value: FALSE
Signal Details
The “handoff”
signal
void user_function (GstIdentity *identity, GstBuffer *buffer, gpointer user_data)
This signal gets emitted before passing the buffer downstream.
Parameters
identity |
the identity 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