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

Luca Barbato lu_zero
Wed Feb 16 13:17:16 CET 2011


On 02/16/2011 01:04 PM, M?ns Rullg?rd wrote:
> Luca Barbato <lu_zero at gentoo.org> writes:
> 
>> 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...
> 
> (long long) 500, standard C syntax.
> 
I meant the meaning of the value, not the syntax of it...

-- 

Luca Barbato
Gentoo/linux
http://dev.gentoo.org/~lu_zero




More information about the ffmpeg-devel mailing list