Membrane Core v0.5.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 Sourcet() :: %Membrane.Element.CallbackContext.Caps{
clock: term(),
old_caps: Membrane.Caps.t(),
pads: %{required(Membrane.Pad.ref_t()) => Membrane.Pad.Data.t()},
parent_clock: term(),
playback_state: Membrane.PlaybackState.t()
}