AppSrc.setDuration

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

class AppSrc
void
setDuration

Parameters

duration gst.types.ClockTime

the duration to set