aboutsummaryrefslogtreecommitdiffstats
path: root/tests/seek_test.c
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@sandy.tauware.de>2011-04-30 08:18:32 +0200
committerReinhard Tartler <siretart@sandy.tauware.de>2011-04-30 08:18:32 +0200
commit9848e1be2d288747b7f39743ed81481780a7ca47 (patch)
treed01ed1413ef2f4611a10d81775b491941a1e9c83 /tests/seek_test.c
parent66ebf37c735158e060c5acf8df62391b8b6182ef (diff)
downloadffmpeg-9848e1be2d288747b7f39743ed81481780a7ca47.tar.gz
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 78431098f9e306ebe27e7698d0ae539e3df2afe9) 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 7c152a458d3fb0a2fb1aef1f05bfee90fe70697e)
Diffstat (limited to 'tests/seek_test.c')
0 files changed, 0 insertions, 0 deletions