Mercurial > libavcodec.hg
diff bitstream.c @ 5672:ce58a38cd391 libavcodec
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
| author | michael |
|---|---|
| date | Tue, 11 Sep 2007 22:46:41 +0000 |
| parents | 13d52b7647a0 |
| children | 6335f2688c04 |
