Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2015-09-21 14:42:48 +0300
committerwm4 <nfxjfg@googlemail.com>2015-09-21 14:42:48 +0300
commitc216324a7f958f09a7ee68c5cca28fdd166fba9d (patch)
tree0c244894c03ec7e117bb3876ea23efa19c06175f /libavformat/subtitles.h
parenta47ad06baf6c0db6d47a5531d6d4ee0511f44eac (diff)
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;
/**