Adrien Destugues ff68ae9837 ffmpeg: disable runtime frame rate changes support.
This change was introduced by Colin for DVB-T support, however it also
breaks the timing of several MP4 files. The code is incomplete and
computes slightly to very wrong frame rates (one video plays about twice
as fast as needed, another one attempts to play at 30000 FPS).

I suspect similar problems would be found when changing the frame rate
in DVB-T streams in the same way, so I'm disabling this code for now
until a correct solution is found or we manage to use a newer version of
ffmpeg (where there is an actual framerate field in the format and it
doesn't need to be derived from the time_base anymore).

This restores the previous behavior of computing the framerate at the
AVFormatReader level, that is, once per stream, rather than once per
frame. At the stream level we have enough data to compute an "average"
frame rate, and there is also an "r_frame_rate" (real frame rate) which
may be usable for this. Not having working DVB-T hardware to experiment
with that yet, I'll leave it to others.

Fixes #11283 and the last remaining problem in #4512.
2014-12-09 15:42:49 +01:00
..
2014-12-07 16:20:43 +00:00
2014-12-08 12:48:29 +01:00
2014-12-09 08:24:14 +01:00
2014-11-12 11:25:41 +01:00
2014-12-02 09:04:56 +01:00
2014-12-09 15:17:20 +01:00