[FFmpeg-devel] v4l2.c : numerator and denominator are alternated

Reimar Döffinger Reimar.Doeffinger at gmx.de
Fri Nov 11 18:52:17 CET 2011

On Fri, Nov 11, 2011 at 03:30:37AM +0100, henk devolder wrote:
> Hi,
> I had a look in the v4l2.c source ...
> In the v4l2_set_parameters function it seems to me
> that the numerator and denominator variables are alternated.

One is frames per second and the other is seconds per frame,
thus numerator and denominator have to be swapped.

More information about the ffmpeg-devel mailing list