Buffer.duration

Set duration field.

  1. gst.types.ClockTime duration [@property getter]
  2. gst.types.ClockTime duration [@property setter]
    class Buffer
    @property
    void
    duration

Parameters

propval gst.types.ClockTime

duration in time of the buffer data, can be #GST_CLOCK_TIME_NONE when the duration is not known or relevant.