summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-12-07 23:47:18 +0100
committerwm4 <wm4@nowhere>2015-12-07 23:48:59 +0100
commit3d66a5d14eaa6081dd8b14dd8dd03cf996e4945e (patch)
tree72ec54bf533e8d4f887b7a8196a4f50d4552842e
parentc138505813b219c9ced0fbd623f6c66765bff2bf (diff)
downloadmpv-3d66a5d14eaa6081dd8b14dd8dd03cf996e4945e.tar.bz2
mpv-3d66a5d14eaa6081dd8b14dd8dd03cf996e4945e.tar.xz
sub: increase gap/overlap fixing threshold to 210ms
Don't ask why.
-rw-r--r--DOCS/man/options.rst2
-rw-r--r--sub/sd.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index f2244fc302..7533c389d7 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -1584,7 +1584,7 @@ Subtitles
``--sub-fix-timing``, ``--no-sub-fix-timing``
By default, subtitle timing is adjusted to remove minor gaps or overlaps
- between subtitles (if the difference is smaller than 200 ms, the gap or
+ between subtitles (if the difference is smaller than 210 ms, the gap or
overlap is removed).
``--sub-forced-only``
diff --git a/sub/sd.h b/sub/sd.h
index cae3e156ee..f7f0d320b4 100644
--- a/sub/sd.h
+++ b/sub/sd.h
@@ -4,8 +4,8 @@
#include "dec_sub.h"
#include "demux/packet.h"
-// up to 200 ms overlaps or gaps are removed
-#define SUB_GAP_THRESHOLD 0.2
+// up to 210 ms overlaps or gaps are removed
+#define SUB_GAP_THRESHOLD 0.210
// don't change timings if durations are smaller
#define SUB_GAP_KEEP 0.4