[FFmpeg-devel] [PATCH 3/4] Better threshold for the gcd based r_frame_rate calculation.

Luca Barbato lu_zero
Wed Feb 16 11:31:41 CET 2011


On 2/16/11 10:39 AM, Janne Grunau wrote:
> -            if (tb_unreliable(st->codec)&&  st->info->duration_count>  15&&  st->info->duration_gcd>  1&&  !st->r_frame_rate.num)
> +            if (tb_unreliable(st->codec)&&  st->info->duration_count>  15&&  st->info->duration_gcd>  FFMAX(1, st->time_base.den/(500LL*st->time_base.num))&&  !st->r_frame_rate.num)

I wonder what 500LL is...

lu



More information about the ffmpeg-devel mailing list