Buffer.duration

gst.types.ClockTime duration() @property

Get duration field.

Returns

duration in time of the buffer data, can be #GST_CLOCK_TIME_NONE

when the duration is not known or relevant.

void duration(gst.types.ClockTime propval) @property

Set duration field.

Parameters

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