Handle multiple bitmap subtitles at the same time correctly (#2239).
authorCarl Hetherington <cth@carlh.net>
Thu, 28 Apr 2022 12:00:07 +0000 (14:00 +0200)
committerCarl Hetherington <cth@carlh.net>
Thu, 28 Apr 2022 12:00:07 +0000 (14:00 +0200)
commite06941199da90359f41ce80c276752bc0f172d7e
tree7862ad33b1ba1c7c0633d55c0400449d80a475fc
parentd52426b1e69f8af2f7d33022ed4e173a8c876afc
Handle multiple bitmap subtitles at the same time correctly (#2239).

Previously if there were two images at the same time we would start
them both, then the stop time would be set in the second one but
not the first.  This meant that the first one would hang around
forever.
src/lib/content_text.h
src/lib/ffmpeg_decoder.cc
src/lib/ffmpeg_decoder.h