BaseParse.setLatency
void setLatency(gst.types.ClockTime minLatency, gst.types.ClockTime maxLatency)Sets the minimum and maximum (which may likely be equal) latency introduced by the parsing process. If there is such a latency, which depends on the particular parsing of the format, it typically corresponds to 1 frame duration.
If the provided values changed from previously provided ones, this will also post a LATENCY message on the bus so the pipeline can reconfigure its global latency.
Parameters
minLatency | minimum parse latency |
maxLatency | maximum parse latency |