[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [livid-dev] Wow...
Yoann Vandoorselaere wrote:
> > Doing the buffering in an auto-enlarging ring buffer structure should be
> > a workaround. And since there has to be a limit, it should not grow
> > infinite.
> The problem is that if we stop growing but need it,
> the decoding will block...
What i wanted to say is: There is a natural limit (commercial players do
have a memory-limit), and the growing of the ring-buffer will stop by
itself. Usally one would add a "nearly infinite" limit (100 blocks or
so) mainly for debugging purpouses.
And to avoid infinite allocation, deconding may be blocked, when video
and audio both have a certain amount of frames buffered.
ciao
gert