OSDN Git Service

fix timestamps used for ratecontrol
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 11 Sep 2007 22:46:41 +0000 (22:46 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 11 Sep 2007 22:46:41 +0000 (22:46 +0000)
commitf612801465b3def67d0190d70f407a9663e4b1f0
treead9717b2b8d16200b474ad681b09f2e552a41330
parent70fd3975f97ea5d783cf0d83880c07dab3c147a9
fix timestamps used for ratecontrol
these were wrong (in pts vs dts sense) when b frames were in use
they were also wrong if the average framerate was smaller than 1/timebase
resulting in totally wrong final bitrate

Originally committed as revision 10477 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/ratecontrol.c
tests/ffmpeg.regression.ref
tests/rotozoom.regression.ref
tests/seek.regression.ref