[ Version ( since = "1.6" ) ]
public void set_latency (ClockTime latency)
Sets the latency that should be configured on the pipeline.
Setting GST_CLOCK_TIME_NONE will restore the default behaviour of using the minimum latency from the LATENCY query. Setting this is usually not required and the pipeline will figure out an appropriate latency automatically.
Setting a too low latency, especially lower than the minimum latency from the LATENCY query, will most likely cause the pipeline to fail.
this |
a Pipeline |
latency |
latency to configure |