Commit a634649a authored by Clément Bœsch's avatar Clément Bœsch

avformat/subtitles: make sure we don't drop "duplicated" events from different streams

parent 4f26c999
......@@ -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]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment