lavf: estimate frame duration from r_frame_rate.
authorAnton Khirnov <anton@khirnov.net>
Mon, 28 Nov 2011 09:02:21 +0000 (10:02 +0100)
committerAnton Khirnov <anton@khirnov.net>
Wed, 30 Nov 2011 06:47:43 +0000 (07:47 +0100)
commit2092232581468e3d656805e2b0effd14092dc6f5
tree8854a180c65ca2e10ff9f0e6e0ce13961d8e3d85
parent91b412e786055aec3c5b6529a0c9ecc70fde8a6d
lavf: estimate frame duration from r_frame_rate.

If r_frame_rate is set, it should be more reliable for this than either
codec or stream timebase.
libavformat/utils.c