Presentation: correct durations for "Fade" transition effect by doing 20 FPS instead of 100 frames total

Review Request #125310 - Created Sept. 19, 2015 and submitted

Information
Arseniy Lartsev
okular
352876
125329
Reviewers
okular

Right now, fade transition is always done in 100 frames. If the intended duration is, say, 1 second, the actual duration can easily be a few seconds instead, due to the limited CPU power (on my laptop with core i5, those 100 frames take 2 seconds).

I propose a patch that changes the number of frames to 20 * (duration in seconds). 20 FPS still looks completely smooth to me.

Works for me.

Arseniy Lartsev
Arseniy Lartsev
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 9f0ff21a22cd6618034e42f77d7796169a9db606 by Albert Astals Cid on behalf of Arseniy Lartsev to branch master.
Loading...