[FFmpeg-cvslog] avformat/subtitles: make sure we don't drop "duplicated" events from different streams
Clément Bœsch
git at videolan.org
Thu Sep 10 21:38:20 CEST 2015
ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Thu Sep 10 21:39:13 2015 +0200| [a634649a36d8ed6a3fb29b4cdfb7023f7338c824] | committer: Clément Bœsch
avformat/subtitles: make sure we don't drop "duplicated" events from different streams
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a634649a36d8ed6a3fb29b4cdfb7023f7338c824
---
libavformat/subtitles.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavformat/subtitles.c b/libavformat/subtitles.c
index f25aa0e..2f8b066 100644
--- a/libavformat/subtitles.c
+++ b/libavformat/subtitles.c
@@ -176,6 +176,7 @@ static void drop_dups(FFDemuxSubtitlesQueue *q)
if (q->subs[i].pts == last->pts &&
q->subs[i].duration == last->duration &&
+ q->subs[i].stream_index == last->stream_index &&
!strcmp(q->subs[i].data, last->data)) {
av_free_packet(&q->subs[i]);
More information about the ffmpeg-cvslog
mailing list