1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00
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 'd7f4f5c4a18a0c9e62635cfa6fe8a9302b413c01' 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
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
regression-funcs.sh
rotozoom.c
simple1.ffconcat
simple2.ffconcat
test.ffmeta
tiny_psnr.c
tiny_ssim.c
utils.c
videogen.c