Membrane.Element.CallbackContext.Caps (Membrane Core v0.7.0) 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

Specs

t() :: %Membrane.Element.CallbackContext.Caps{
  clock: Membrane.Clock.t() | nil,
  name: Membrane.Element.name_t(),
  old_caps: Membrane.Caps.t(),
  pads: %{required(Membrane.Pad.ref_t()) => Membrane.Pad.Data.t()},
  parent_clock: Membrane.Clock.t() | nil,
  playback_state: Membrane.PlaybackState.t()
}