Function alass::alass_options_set_split_penalty
source · [−]#[no_mangle]
pub extern "C" fn alass_options_set_split_penalty(
options: *mut SyncOptions,
value: f64
) -> ResultCode
Expand description
The alass
“split_penalty” parameter
Determines how eager the algorithm is to avoid splitting of the subtitles. A value of 1000
means that all lines will be shifted by the same offset, while 0.01 will produce MANY
segments with different offsets. Values from 1 to 20 are the most useful subtitles by a
constant amount. (default 7.0
)