Membrane Core v0.3.2 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 Sourcet() :: %Membrane.Element.CallbackContext.Caps{ old_caps: Membrane.Caps.t(), pads: %{ optional(Membrane.Element.Pad.ref_t()) => Membrane.Element.Pad.Data.t() }, playback_state: Membrane.Element.playback_state_t() }