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
duration | the duration to set |
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.
duration | the duration to set |