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

  • From: "Stephan Assmus" <superstippi@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 29 Nov 2010 20:08:18 +0100

-------- Original-Nachricht --------
> Datum: Mon, 29 Nov 2010 18:58:20 +0100
> Von: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
> An: haiku-commits@xxxxxxxxxxxxx
> Betreff: [haiku-commits] Re: r38649 - haiku/trunk/src/kits/media

> 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 :-)

I am really getting too old to remember stuff like that. I am pretty sure that 
there was a serious problem, and no silent fall-back mechanism already in 
place, since I fixed an actual problem (well, that's debatable), i.e. it didn't 
work before, now it works.

Best regards,
-Stephan

Other related posts: