summaryrefslogtreecommitdiffstats
path: root/bootstrap.py
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-12-06 18:22:30 +0100
committerwm4 <wm4@nowhere>2015-12-06 18:22:30 +0100
commit970606e49198594c243edf4a85c426693676f6a3 (patch)
tree27435991d233ea17d236a0d4378e85a478214f24 /bootstrap.py
parent7d7ea72854ba3576bd6a05901dd1de39b16b5efe (diff)
downloadmpv-970606e49198594c243edf4a85c426693676f6a3.tar.bz2
mpv-970606e49198594c243edf4a85c426693676f6a3.tar.xz
sd_ass: slightly better heuristic for applying --sub-fix-timing
Fixes a reported sample, that has a sign interrupted by a few frames (for which --sub-fix-timing would remove the wanted gap). The list of tags in has_overrides() is taken from libass. It has a similar function (which even checks whether the tag are within the { } delimiters). Unfortunately, this function is not public, so we just have a simpler one which does roughly the same. It doesn't matter that this function sometimes returns false positives.
Diffstat (limited to 'bootstrap.py')
0 files changed, 0 insertions, 0 deletions