xfmedia 0.3.0 released

Brian J. Tarricone bjt23 at cornell.edu
Tue Nov 2 12:04:16 CET 2004

Thibaut Mattern wrote:

>Hi Brian,
>some tips to reduce the memory footprint of the xine engine.
>- try to use only one stream_t instance
>- about your "extra_stream", i guess it's used to retrieve metadata
>because you open the stream with the "none" video driver and the
>"none" audio driver, in this case you can reduce the size of the video
>and audio fifos to very low value like 5.
>- use NULL as video port if the stream has no video (same with audio)
>- reduce the size of the audio fifo if the stream has no video
>hope this helps,

hi thibaut,

thanks for the tips, i'll give it a try.  as for using NULL for 
video/audio if the stream is missing one of them, won't this cause a bit 
of a performance penalty, since i'll essentially need to destroy the old 
stream_t instance and create a new one with the NULL video or audio?

also, about my use of "extra_stream"...  is it possible to use NULL for 
video and audio output since i don't care about output in this case?  
last time i tried that, i was unable to get metadata or stream 
parameters out of it.  i think, anyway; it was a while ago that i tried 
it that way.


More information about the Xfce4-dev mailing list