diff options
author | wm4 <wm4@nowhere> | 2013-06-02 22:35:00 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-06-03 22:40:07 +0200 |
commit | 3913e3e383f2838c19c876ff1d809ac883014760 (patch) | |
tree | 7fd174c99cf104db006b7a71f18ee7f17ed5cce8 /sub/sd.h | |
parent | 5e2c211a4e1d67748348295b191acb2dfb76d024 (diff) | |
download | mpv-3913e3e383f2838c19c876ff1d809ac883014760.tar.bz2 mpv-3913e3e383f2838c19c876ff1d809ac883014760.tar.xz |
sub: don't check for duplicates on sub conversion
This mirrors commit "sub: remove check_duplicate_plaintext_event()".
That code was basically duplicated. In general, this code is still
needed when doing conversion during demuxing (mostly because you can
seek during demuxing, which will cause duplicate events by replaying).
Diffstat (limited to 'sub/sd.h')
-rw-r--r-- | sub/sd.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -27,6 +27,10 @@ struct sd { struct ass_library *ass_library; struct ass_renderer *ass_renderer; + // If false, try to remove multiple subtitles. + // (Only for decoders which have accept_packets_in_advance set.) + bool no_remove_duplicates; + // Set by sub converter const char *output_codec; char *output_extradata; |