[haiku-commits] Re: r38649 - haiku/trunk/src/kits/media

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 29 Nov 2010 18:58:20 +0100

superstippi@xxxxxx wrote:
> Author: stippi
> Date: 2010-09-14 20:37:37 +0200 (Tue, 14 Sep 2010)
> New Revision: 38649
> Changeset: http://dev.haiku-os.org/changeset/38649
> Modified:
>    haiku/trunk/src/kits/media/MediaExtractor.cpp
> Log:
> For full HD clips, the real-time memory chunk cache
> was not big enough. Axel, perhaps another solution is
> better?

Maybe :-)
I guess the best solution would be dependent on the available memory as 
well as on the typical frame size of the stream. Ie. some day we might 
use 4K HD and then 3 MB would probably be too small, too.

> Would you prefer the chunk cache to fall-back
> to regular memory and keep track of allocation type?

What exactly was the outcome, anyway? I think it should fall back to do 
no caching - if memory is low, it shouldn't try to increase the 
pressure with every way it can :-)


Other related posts: