From: Michael R. <mr...@us...> - 2002-08-05 15:31:16
|
Hi Miguel, > Right, but i don't think the plugin loading should be blamed here. > the biggest memory waste we have now must be from allocating too > large decoder buffers. Well, not the biggest. Xine has a resident set of 14MB here right after startup. The buffers should use something around 6MB from that. The rest is mostly code. (Quite impressive, isn't it?) > this->audio_fifo = fifo_buffer_new (230, 8192); > > 2k buffers should be used here and any demuxer requiring larger > buffers need to be fixed... I totally agree with you here, since 2k seems to be the common case. > > if instead only the necessary plugins were loaded (ie, demuxers), > > and then those plugins loaded (or told xine-engine to load) the > > necessary decoder plugins when they're actually needed. > > You must consider that decoder can be changed on the fly for a > playing file (eg. ac3/pcm vob). also it's currently up to decoder > plugin to inform which stream types it handles. ... and the decoder should have a chance registering some config entries if it wants to. Michael -- LOAD "WIN95",8,1 RUN |