Anton Khirnov <an...@khirnov.net> writes:

> From: Anssi Hannula <anssi.hann...@iki.fi>
>
> 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.
> ---
>  libavformat/utils.c |   10 +++++++++-
>  1 files changed, 9 insertions(+), 1 deletions(-)

The proper solution is to not throw out the frame rate specified in the
mkv header, which is usually correct even if actual timestamps are
inaccurate.

-- 
Måns Rullgård
m...@mansr.com
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to