set_duration


Description:

[ Version ( since = "1.10" ) ]
public void set_duration (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:

this

a Src

duration

the duration to set