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:
wm4
2014-06-13 02:06:03 +02:00
parent 98a31d5937
commit 09a61ba03a
3 changed files with 4 additions and 5 deletions

View File

@@ -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) {