Skip to main content

MIN_SAVING

Constant MIN_SAVING 

Source
pub const MIN_SAVING: f64 = 0.05;
Expand description

A quality-mode re-encode has to save at least this share of the source to be worth it; below that the original is kept. A minutes-long 4K encode for a 1 % saving isn’t a compression — just a generation of quality loss.