ffmpeg: switch duration calculation code from avg to r frame_rate.
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 29 Mar 2012 17:08:17 +0000 (19:08 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 29 Mar 2012 17:23:22 +0000 (19:23 +0200)
commit42043646785f419def5ca557f500ee105f4ccb3c
tree2300789f687effdb7d7302255ff643e23e8ef228
parent282ec7289d669e0297ad19ea492e086720e1bdcb
ffmpeg: switch duration calculation code from avg to r frame_rate.

This heuristic is less likely to overshoot and cause encoder failure.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg.c