FFmpeg/tests
Reinhard Tartler 9848e1be2d lavf: inspect more frames for fps when container time base is coarse
As per issue2629, most 23.976fps matroska H.264 files are incorrectly
detected as 24fps, as the matroska timestamps usually have only
millisecond precision.

Fix that by doubling the amount of timestamps inspected for frame rate
for streams that have coarse time base. This also fixes 29.970 detection
in matroska.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 78431098f9)

Tested with mplayer based on this report
http://thread.gmane.org/gmane.comp.video.mplayer.user/66043/focus=66063

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit 7c152a458d)
2011-04-30 08:18:32 +02:00
..
ref lavf: inspect more frames for fps when container time base is coarse 2011-04-30 08:18:32 +02:00
audiogen.c Mark functions only used within the test programs as static. 2009-02-19 10:09:46 +00:00
codec-regression.sh use mpeg2 quantization bias for mjpeg. 2010-03-15 16:37:02 +00:00
copy.regression.ref Make sure we dont double test files and sort the list. 2010-03-02 17:16:25 +00:00
copycooker.sh Make sure we dont double test files and sort the list. 2010-03-02 17:16:25 +00:00
fate-run.sh Add FATE tests 2010-03-15 19:23:24 +00:00
fate-update.sh Add FATE tests 2010-03-15 19:23:24 +00:00
fate.mak Add FATE tests 2010-03-15 19:23:24 +00:00
ffserver-regression.sh Make ffserver regression test run (still fails) 2010-03-08 00:27:00 +00:00
ffserver.conf Rename test.conf --> ffserver.conf, the new name is more meaningful. 2009-03-29 20:17:23 +00:00
ffserver.regression.ref update ffserver regression ref 2009-03-21 10:03:37 +00:00
lavf-regression.sh regtest: place image sequence outputs in separate directories 2010-03-07 19:25:58 +00:00
lavfi-regression.sh Make ad-hoc lavfi tests use random values for the slice height used 2010-03-17 23:23:48 +00:00
lena.pnm finished integrating rotozoom test in ffmpeg 2003-04-11 13:43:17 +00:00
md5.sh regtest: move md5sum wrappers into separate file 2010-03-08 00:26:58 +00:00
regression-funcs.sh regtest: move md5sum wrappers into separate file 2010-03-08 00:26:58 +00:00
rotozoom.c Remove unused global variable. 2009-07-22 08:28:58 +00:00
seek-regression.sh regtest: run seektest on image sequences 2010-03-07 19:50:56 +00:00
seek_test.c Free packets read in seek_test. 2010-02-28 11:18:04 +00:00
tiny_psnr.c fix a rounding error in the PSNR calculation and update the many regression 2009-11-09 23:09:47 +00:00
videogen.c Remove some hunks of unused and disabled code cruft. 2009-08-07 14:53:31 +00:00