config_set_seek_accurate


Description:

[ Version ( since = "1.12" ) ]
public static void config_set_seek_accurate (Structure config, bool accurate)

Enable or disable accurate seeking.

When enabled, elements will try harder to seek as accurately as possible to the requested seek position. Generally it will be slower especially for formats that don't have any indexes or timestamp markers in the stream.

If accurate seeking is disabled, elements will seek as close as the request position without slowing down seeking too much.

Accurate seeking is disabled by default.

Parameters:

config

a Player configuration

accurate

accurate seek or not




2022 vala-language.org