gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-dev] Git and ming setRate(0) causes processor peg


From: strk
Subject: Re: [Gnash-dev] Git and ming setRate(0) causes processor peg
Date: Thu, 15 May 2008 15:52:28 +0200

> Is the new git repository ready? 

Not yet, the plan is to switch after release.

> Also, when using 0.8.2, I notice that ming movies that use setRate(0) cause
> the processor to peg.
> is there any way to better handle the situation in gnash?

A quick test shows that we should use 12 FPS when advertised FPS is zero:

 avg fps after 423 iterations: 12.4420803782506
 avg fps after 424 iterations: 12.4410377358491

Source (makeswf -r0 test.as):

 total = 0; iter = 0; avg = 0;
 onEnterFrame =function()
 {
        total = getTimer();
        ++iter;
        avg = total/iter;
        trace("avg fps after "+iter+" iterations: "+avg);
 };

--strk;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]