Membrane Core v0.3.0 Membrane.Element.CallbackContext.Caps View Source

Structure representing a context that is passed to the element when receiving information about new caps for given pad.

The old_caps field contains caps previously present on the pad, and is equal to pads[pad].caps field.

Link to this section Summary

Link to this section Types

Link to this type

t() View Source
t() :: %Membrane.Element.CallbackContext.Caps{
  old_caps: Membrane.Caps.t(),
  pads: %{
    optional(Membrane.Element.Pad.ref_t()) => Membrane.Element.Pad.Data.t()
  },
  playback_state: Membrane.Core.Playback.state_t()
}