Changeset 7c152a45 in ffmpeg

Timestamp:
Apr 29, 2011, 8:46:13 PM (14 years ago)
Author:
Reinhard Tartler <siretart@sandy.tauware.de>
Branches:
master
Children:
70892657
Parents:
0247bdee
git-author:
Anssi Hannula <anssi.hannula@iki.fi> (04/28/11 18:47:40)
git-committer:
Reinhard Tartler <siretart@sandy.tauware.de> (04/29/11 20:46:13)
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>
(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>

(No files)

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