Gst.Element::pad-added

function callback(element, new_pad:Gst.Pad, ):void;

a new Gst.Pad 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.prototype.set_state or Gst.Element.prototype.sync_state_with_parent.

element

instance of Gst.Element that is emitting the signal

new_pad

the pad that has been added