Membrane Core v0.4.0 Membrane.Element.Pad.Data View Source
Struct describing current pad state.
The public fields are:
:caps- the most recentMembrane.Capsthat have been sent (output) or received (input) on the pad. May benilif not yet set.:start_of_stream?- flag determining whetherMembrane.Event.StartOfStreamhas been received (or sent) on the pad:end_of_stream?- flag determining whetherMembrane.Event.EndOfStreamhas been received (or sent) on the pad:options- options passed inMembrane.Pipeline.Specwhen linking pad
Other fields in the struct ARE NOT PART OF THE PUBLIC API and should not be accessed or relied on.
Link to this section Summary
Link to this section Types
Link to this type
t()
View Sourcet() :: %Membrane.Element.Pad.Data{
accepted_caps: any(),
availability: Membrane.Element.Pad.availability_t(),
caps: Membrane.Caps.t() | nil,
current_id: non_neg_integer() | nil,
demand: integer() | nil,
demand_unit: Membrane.Buffer.Metric.unit_t() | nil,
direction: Membrane.Element.Pad.direction_t(),
end_of_stream?: boolean(),
input_buf: Membrane.Core.InputBuffer.t() | nil,
mode: Membrane.Element.Pad.mode_t(),
options: Keyword.t(),
other_demand_unit: Membrane.Buffer.Metric.unit_t() | nil,
other_ref: Membrane.Element.Pad.ref_t(),
pid: pid(),
start_of_stream?: boolean(),
sticky_messages: [Membrane.Event.t()]
}