Schnittstelle Element.OnPadAdded

Umschließende Klasse:
Element
Funktionsschnittstelle:
Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.

@FunctionalInterface public static interface Element.OnPadAdded
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    onPadAdded(Pad new_pad)
    a new #GstPad has been added to the element.
  • Methodendetails

    • onPadAdded

      void onPadAdded(@Nonnull Pad new_pad)
      a new #GstPad has been added to the element. Note that this signal will
      usually be emitted from the context of the streaming thread. Also keep in
      mind that if you add new elements to the pipeline in the signal handler
      you will need to set them to the desired target state with
      gst_element_set_state() or gst_element_sync_state_with_parent().
      Parameter:
      new_pad - the pad that has been added