View Source Membrane.Element.CallbackContext.Caps (Membrane Core v0.10.2)
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
@type 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.Element.PadData.t()}, parent_clock: Membrane.Clock.t() | nil, playback_state: Membrane.PlaybackState.t() }