[x264-devel] [PATCH] improve bitrate precision in 2 pass encodes

BugMaster BugMaster at narod.ru
Thu Oct 2 10:37:56 CEST 2008


On Thu, 02 Oct 2008 10:25:19 +0200, Gabriel Bouvigne wrote:
> BugMaster a écrit :

>> I think it is not safe to use
>> +        double elapsed_time = (double)h->fenc->i_frame / rcc->num_entries;

> Here is a fixed version

> --
> Gabriel


 Use of h->param.i_frame_total is also not safe. It can be zero when
 frame number is unknown (using of stdin and may be pipes).



More information about the x264-devel mailing list