From 342ead4491660466a2eee7c170ff8da3c02a0e87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= Date: Thu, 10 Sep 2015 21:40:49 +0200 Subject: [PATCH] avformat/subtitles: improve ff_subtitles_queue_finalize() doxy --- libavformat/subtitles.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/subtitles.h b/libavformat/subtitles.h index 8b94d9912f..c70f6fffde 100644 --- a/libavformat/subtitles.h +++ b/libavformat/subtitles.h @@ -119,7 +119,8 @@ AVPacket *ff_subtitles_queue_insert(FFDemuxSubtitlesQueue *q, const uint8_t *event, size_t len, int merge); /** - * Set missing durations and sort subtitles by PTS, and then byte position. + * Set missing durations, sort subtitles by PTS (and then byte position), and + * drop duplicated events. */ void ff_subtitles_queue_finalize(void *log_ctx, FFDemuxSubtitlesQueue *q);