FFmpeg/tests
Adam Sampson bfa33f548d lavf/jacosubdec: compute subtitle duration correctly
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.

The subtitle end times in the FATE test for this were wrong as a result;
fix them too. (This test is based on JACOsub's demo.txt, and the end
time computed for the last line using @ now matches what the comments
there say it should be.)

Also tested in practice using MPV, a LaserDisc, and some authentic 1993
JACOsub files.

Signed-off-by: Adam Sampson <ats@offog.org>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-02-20 21:15:07 +01:00
..
api tests/api/api-h264-test: Add AV_NOPTS_VALUE check for AVFrame.pkt_dts/pts 2019-02-12 22:28:15 +08:00
checkasm Merge commit 'd7f4f5c4a1' 2019-02-20 15:28:25 -03:00
fate api-h264-slice-test: fix arguments and help 2019-01-14 17:16:55 +01:00
filtergraphs FATE: Add test for libavfilter/scale2ref 2017-06-05 01:50:25 +02:00
ref lavf/jacosubdec: compute subtitle duration correctly 2019-02-20 21:15:07 +01:00
.gitignore
audiogen.c tests/audiogen: raise channel count limit to 12 2018-07-30 10:46:10 +02:00
audiomatch.c tests/audiomatch: Add missing return code at the end of main() 2017-12-19 21:32:04 +01:00
base64.c
copycooker.sh
extended.ffconcat
fate-run.sh fate: allow temp files for passed test to be kept 2018-07-10 10:12:38 +05:30
fate-valgrind.supp
fate.sh fate: Error out more gracefully on configure failure 2018-02-26 13:30:05 +01:00
lavf-regression.sh fate: add mxf_dv25/dvcpro50 regression tests 2017-09-18 08:56:52 +02:00
Makefile fate: add tests/fate/hlsenc.mak for hls FATE 2019-01-04 11:16:13 +08:00
md5.sh
refcmp-metadata.awk fate: add tests for psnr and ssim filter 2017-09-27 15:58:49 +02:00
reference.pnm Replace lena.pnm 2014-11-28 17:55:27 -05:00
regression-funcs.sh tests: add -nostdin flag when calling ffmpeg 2016-10-06 18:31:07 -05:00
rotozoom.c
simple1.ffconcat
simple2.ffconcat fate: add concat demuxer tests 2015-11-15 19:22:46 +01:00
test.ffmeta fate/ffprobe: add some stream metadata. 2012-10-08 11:03:27 +02:00
tiny_psnr.c Merge commit '7a00653be6' 2016-02-16 18:11:05 +00:00
tiny_ssim.c tests/tiny_ssim: replace #define by typedef 2015-11-20 08:25:23 -05:00
utils.c tests/utils: Remove unneeded L suffix 2015-02-01 22:38:11 +01:00
videogen.c