mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
options: remove use of an inverted option value
Now MPOpts.sub_fix_timing corresponds to the commandline switch directly, instead of storing the inverted value.
This commit is contained in:
@@ -474,7 +474,7 @@ bool sub_read_all_packets(struct dec_sub *sub, struct sh_stream *sh)
|
||||
if (sub_speed != 1.0)
|
||||
multiply_timings(subs, sub_speed);
|
||||
|
||||
if (!opts->suboverlap_enabled)
|
||||
if (opts->sub_fix_timing)
|
||||
fix_overlaps_and_gaps(subs);
|
||||
|
||||
if (sh->codec && strcmp(sh->codec, "microdvd") == 0) {
|
||||
|
||||
Reference in New Issue
Block a user