Changeset 78431098 in ffmpeg

Timestamp:
Apr 3, 2011, 1:18:06 AM (14 years ago)
Author:
Michael Niedermayer <michaelni@gmx.at>
Branches:
master
Children:
a3b71843
Parents:
f3543969
git-author:
Anssi Hannula <anssi.hannula@iki.fi> (02/28/11 00:20:56)
git-committer:
Michael Niedermayer <michaelni@gmx.at> (04/03/11 01:18:06)
Message:

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>

(No files)

Note: See TracChangeset for help on using the changeset viewer.