gnash-dev
[Top][All Lists]
Advanced

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

Re: [Gnash-dev] Re: SWF streaming


From: strk
Subject: Re: [Gnash-dev] Re: SWF streaming
Date: Sat, 12 Aug 2006 23:13:36 +0200

On Fri, Aug 11, 2006 at 05:32:39PM -0600, Rob Savoye wrote:

>   I think we want to leave the main loop in libgui. What about firing up
> a background thread to do some of the upfront processing ? Then as long
> as the frame was loaded it could be displayed. With a thread doing this
> you wouldn't have to follow the FPS rate. We can also add an additional
> timer to fire off something on a faster rate, also decoupling this from
> the frame display rate.

This was also suggested by Bastiaan.
I thought we were avoiding threads, but if everyone is ok with
it I will inspect possibilities for it. Actually a thread would
be a convenient solution as the thread could be removed as soon
as the movie is fully loaded.

The only problem I can think of is at frame-advance time, in case the next
frame has not been loaded yet. We'd likely want to render the frame as soon
as it's loaded rather then skip the operation and wait next 1/FPS seconds.

--strk;




reply via email to

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