On Wed, May 30, 2007 at 12:34:27PM +0200, Sandro Santilli wrote:

> mmm... why is the decoding thread started if buffer was NOT full ?
> 
> The question seems to be: "What is the buffer" ?

I think I understood something more here...
The FLVParser (parser) is what keeps the buffer.

Currenlty, the only way to have FLVParser fill the buffer
is by callign isTimeLoaded (odd) and getNextFrame...

Currently, isTimeLoaded is called on ::advance (main thread)
and getNextFrame (or parseNextFrame) is called by the decoder thread.

I think a solution would be *never* stopping/pausing the decoder thread,
rather have it avoid calling parseNextFrame if the buffer is already full.
Problems with that ?

--strk;



_______________________________________________
Gnash-commit mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-commit

Reply via email to