AppSrc.setDuration

void setDuration(gst.types.ClockTime duration)

Set the duration of the stream in nanoseconds. A value of GST_CLOCK_TIME_NONE means that the duration is not known.

Parameters

durationthe duration to set