[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-dev] NetStream and ::advance
From: |
strk |
Subject: |
Re: [Gnash-dev] NetStream and ::advance |
Date: |
Fri, 18 May 2007 07:13:59 +0200 |
On Fri, May 18, 2007 at 12:35:21AM +0200, Tomas Groth wrote:
> hi,
>
> > It seems our handlign of NetStream, completely driven by SWF frame
> > advancement,
> > is bogus. The current NetStream-SquareTest.swf file in our testsuite has
> > a FPS of 1 (1 frame per second). With Gnash this results in no more then one
> > video frame displayed each second, while the proprietary player keeps
> > rendering
> > new FLV frames as they arrive.
> >
> > Is this something we want to fix before the release ?
> >
> > See http://www.gnashdev.org/wiki/index.php/MovieAdvancement for related
> > issues.
> >
> Since this seems to only be a problem with low framerate SWFs, I don't think
> it's worth to fix before the release - unless the proposed fix on the wiki is
> very quick and easy...
The quick and easy patch is attached.
It only implements 'ticking' from the GTK gui, and with a very dumb rate
value (1/20 the FPS, arbitrarely - just as a proof of concept).
It uses the hearbeat for LoadVars, intervals and NetStream decoding.
I'm just not sure this is the way to go (more polling...)
--strk;
hearbeat.diff
Description: Text document