mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-26 21:00:21 +00:00
sub: increase gap/overlap fixing threshold to 210ms
Don't ask why.
This commit is contained in:
@@ -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``
|
||||
|
||||
4
sub/sd.h
4
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user