Membrane Core v0.4.3 Membrane.Element.Pad.Data View Source

Struct describing current pad state.

The public fields are:

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 Source
t() :: %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()]
}