gnash-commit
[Top][All Lists]
Advanced

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

Re: [Gnash-commit] gnash ChangeLog server/asobj/NetStreamFfmpeg.cpp


From: Sandro Santilli
Subject: Re: [Gnash-commit] gnash ChangeLog server/asobj/NetStreamFfmpeg.cpp
Date: Wed, 30 May 2007 13:22:17 +0200

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;





reply via email to

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