summaryrefslogtreecommitdiffstats
path: root/sub
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-06-13 02:06:03 +0200
committerwm4 <wm4@nowhere>2014-06-13 02:06:03 +0200
commit09a61ba03ab0918d045d02427ccdc775abc38f03 (patch)
tree53ba982e49f8ddd41130744eeded4515e06fddaa /sub
parent98a31d5937e8397d8fcd0fefe56630a1cd765cf0 (diff)
downloadmpv-09a61ba03ab0918d045d02427ccdc775abc38f03.tar.bz2
mpv-09a61ba03ab0918d045d02427ccdc775abc38f03.tar.xz
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.
Diffstat (limited to 'sub')
-rw-r--r--sub/dec_sub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sub/dec_sub.c b/sub/dec_sub.c
index 9fc3997af1..798f6c3000 100644
--- a/sub/dec_sub.c
+++ b/sub/dec_sub.c
@@ -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) {