diff options
author | wm4 <wm4@nowhere> | 2013-04-28 21:12:18 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-05-30 22:20:02 +0200 |
commit | 38bd757e4fd4d87441cdc20777c0cc2eaab85db8 (patch) | |
tree | 1d654bb16f375ba998cb17fbd993f4507d60729e /DOCS | |
parent | b44202b69fc4a1dd1659f7940c5f8846d316e0ff (diff) | |
download | mpv-38bd757e4fd4d87441cdc20777c0cc2eaab85db8.tar.bz2 mpv-38bd757e4fd4d87441cdc20777c0cc2eaab85db8.tar.xz |
sub: remove check_duplicate_plaintext_event()
This was once needed to handle subtitle packages coming from a demuxer,
where seeking back might repeat previous events. This doesn't happen
anymore, and this code is used to convert complete files. So if there
are any duplicate lines, they must have been duplicated in the file,
and the old subtitle renderer would have shown them twice as well.
Today checking for duplicate events happens in sd_ass.c (and has been
for a while). There's no reason to keep this code, and it actually
causes trouble. Loading big subtitle files is extremely slow because
this makes adding n subtitles O(n^2).
Diffstat (limited to 'DOCS')
0 files changed, 0 insertions, 0 deletions