[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-commit] [SCM] Gnash branch, noise, updated. release_0_8_9_fin
From: |
Sandro Santilli |
Subject: |
Re: [Gnash-commit] [SCM] Gnash branch, noise, updated. release_0_8_9_final-1234-g5d546de |
Date: |
Tue, 1 Nov 2011 19:46:49 +0100 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Sun, Oct 30, 2011 at 02:37:39PM +0000, Rob Savoye wrote:
> commit 5d546de608127a70d10539261e836d0bdfa0b968
> Author: Rob Savoye <address@hidden>
> Date: Sun Oct 30 08:37:09 2011 -0600
>
> Use the default of 10ms for low framerate files
>
> diff --git a/gui/Player.cpp b/gui/Player.cpp
> index 1212061..7a6fe0b 100644
> --- a/gui/Player.cpp
> +++ b/gui/Player.cpp
> @@ -544,8 +544,12 @@ Player::run(int argc, char* argv[], const std::string&
> infile,
> if (! _delay) {
> // 10ms per heart beat
> float fps = _movieDef->get_frame_rate();
> - _delay = static_cast<int>(1000/fps);
> -// _delay = 10;
> + log_debug("Movie Frame Rate is %d, adjusting delay", fps);
> + if (fps > 12) {
> + _delay = static_cast<int>(1000/fps);
> + } else {
> + _delay = 10;
> + }
> }
> _gui->setInterval(_delay);
This is still arbitrary.
Here's another testcase for you:
http://strk.keybit.net/tmp/13fpsloader.swf
The loader (13FPS) loads a 25fps SWF with streaming sound.
Mind the sound sync.
--strk;
() Free GIS & Flash consultant/developer
/\ http://strk.keybit.net/services.html
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Gnash-commit] [SCM] Gnash branch, noise, updated. release_0_8_9_final-1234-g5d546de,
Sandro Santilli <=