identity

identity — Pass data without modification

Synopsis




            GstIdentity;


Object Hierarchy


  GObject
   +----GstObject
         +----GstElement
               +----GstBaseTransform
                     +----GstIdentity

Properties


  "check-perfect"        gboolean              : Read / Write
  "datarate"             gint                  : Read / Write
  "drop-probability"     gfloat                : Read / Write
  "dump"                 gboolean              : Read / Write
  "error-after"          gint                  : Read / Write
  "last-message"         gchararray            : Read
  "silent"               gboolean              : Read / Write
  "single-segment"       gboolean              : Read / Write
  "sleep-time"           guint                 : Read / Write
  "sync"                 gboolean              : Read / Write

Signal Prototypes


"handoff"   void        user_function      (GstIdentity *identity,
                                            GstBuffer buffer,
                                            gpointer user_data);

Description

Element Information

plugin coreelements
author Erik Walthinsen <omega@cse.ogi.edu>
class Generic

Details

GstIdentity

typedef struct _GstIdentity GstIdentity;

Opaque GstIdentity data structure

Properties

The "check-perfect" property

  "check-perfect"        gboolean              : Read / Write

Verify that the stream is time- and data-contiguous.

Default value: FALSE


The "datarate" property

  "datarate"             gint                  : Read / Write

(Re)timestamps buffers with number of bytes per second (0 = inactive).

Allowed values: >= 0

Default value: 0


The "drop-probability" property

  "drop-probability"     gfloat                : Read / Write

The Probability a buffer is dropped.

Allowed values: [0,1]

Default value: 0


The "dump" property

  "dump"                 gboolean              : Read / Write

Dump buffer contents.

Default value: FALSE


The "error-after" property

  "error-after"          gint                  : Read / Write

Error after N buffers.

Default value: -1


The "last-message" property

  "last-message"         gchararray            : Read

last-message.

Default value: NULL


The "silent" property

  "silent"               gboolean              : Read / Write

silent.

Default value: FALSE


The "single-segment" property

  "single-segment"       gboolean              : Read / Write

Timestamp buffers and eat newsegments so as to appear as one segment.

Default value: FALSE


The "sleep-time" property

  "sleep-time"           guint                 : Read / Write

Microseconds to sleep between processing.

Default value: 0


The "sync" property

  "sync"                 gboolean              : Read / Write

Synchronize to pipeline clock.

Default value: FALSE

Signals

The "handoff" signal

void        user_function                  (GstIdentity *identity,
                                            GstBuffer buffer,
                                            gpointer user_data);

This signal gets emitted before passing the buffer downstream.

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.