Re: [FFmpeg-devel] [PATCH] lavf/jacosubdec: compute subtitle duration correctly

2019-02-12 Thread Carl Eugen Hoyos
2019-02-13 0:13 GMT+01:00, Adam Sampson : > When a JACOsub subtitle has two timestamps, they represent its start and > end times (http://unicorn.us.com/jacosub/jscripts.html#l_times); the > duration is the difference between the two, not the sum of the two. > > Tested using MPV, a LaserDisc, and so

[FFmpeg-devel] [PATCH] lavf/jacosubdec: compute subtitle duration correctly

2019-02-12 Thread Adam Sampson
When a JACOsub subtitle has two timestamps, they represent its start and end times (http://unicorn.us.com/jacosub/jscripts.html#l_times); the duration is the difference between the two, not the sum of the two. Tested using MPV, a LaserDisc, and some authentic 1993 JACOsub files. --- libavformat/j