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>
Mon, 25 Oct 2021 08:15:24 +0000 (10:15 +0200)
commit442eb6a8b78735c2987b16443646e9350b3d68e8
treeaa1088814505511f1b28ef26f828b275dc1108cf
parent500f121343adb67fdbce10a41b1902ccdbbba1e2
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