summaryrefslogtreecommitdiff
path: root/libavformat/subtitles.h
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2015-09-21 13:42:48 +0200
committerwm4 <nfxjfg@googlemail.com>2015-09-21 13:42:48 +0200
commitc216324a7f958f09a7ee68c5cca28fdd166fba9d (patch)
tree0c244894c03ec7e117bb3876ea23efa19c06175f /libavformat/subtitles.h
parenta47ad06baf6c0db6d47a5531d6d4ee0511f44eac (diff)
downloadffmpeg-c216324a7f958f09a7ee68c5cca28fdd166fba9d.tar.gz
avformat/subtitles: make dropping duplicate events optional
Diffstat (limited to 'libavformat/subtitles.h')
-rw-r--r--libavformat/subtitles.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/subtitles.h b/libavformat/subtitles.h
index c70f6fffde..ca78db224d 100644
--- a/libavformat/subtitles.h
+++ b/libavformat/subtitles.h
@@ -105,6 +105,7 @@ typedef struct {
int allocated_size; ///< allocated size for subs
int current_sub_idx; ///< current position for the read packet callback
enum sub_sort sort; ///< sort method to use when finalizing subtitles
+ int keep_duplicates; ///< set to 1 to keep duplicated subtitle events
} FFDemuxSubtitlesQueue;
/**