mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
avformat/subtitles: make sure we don't drop "duplicated" events from different streams
This commit is contained in:
parent
4f26c99912
commit
a634649a36
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user