Gjsify LogoGjsify Logo

Hierarchy

  • PadChainFunction

Callable

  • A function that will be called on sinkpads when chaining buffers. The function typically processes the data contained in the buffer and either consumes the data or passes it on to the internally linked pad(s).

    The implementer of this function receives a refcount to buffer and should gst_buffer_unref() when the buffer is no longer needed.

    When a chain function detects an error in the data stream, it must post an error on the bus and return an appropriate #GstFlowReturn value.

    Parameters

    • pad: Gst.Pad

      the sink #GstPad that performed the chain.

    • parent: Gst.Object

      the parent of pad. If the #GST_PAD_FLAG_NEED_PARENT flag is set, parent is guaranteed to be not-%NULL and remain valid during the execution of this function.

    • buffer: Gst.Buffer

      the #GstBuffer that is chained, not %NULL.

    Returns Gst.FlowReturn

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method