If there is no end time in an AVSubtitle it seems we should use the AVPacket's duration.
authorCarl Hetherington <cth@carlh.net>
Sun, 24 Oct 2021 22:41:42 +0000 (00:41 +0200)
committerCarl Hetherington <cth@carlh.net>
Sun, 24 Oct 2021 23:14:36 +0000 (01:14 +0200)
commitfff2c8e7ec45cd4473c0753d67e06ee5b589717b
treec14d15795e2cdf1f969b930a409b71bc4633bc5a
parent0e032143cee2a5253d7e940b6f0c84df9d900897
If there is no end time in an AVSubtitle it seems we should use the AVPacket's duration.

This fixes #2110.  I don't have a particular justification for it being
the right thing to do.
src/lib/ffmpeg.cc