CVS Commit: vlc

cvs at videolan.org cvs at videolan.org
Mon Apr 16 14:34:28 CEST 2001


Update of /cvs/videolan/vlc/include
Modified Files:
	input_ext-dec.h 

Update of /cvs/videolan/vlc/plugins/mpeg
Modified Files:
	input_ps.c input_ps.h 

Log Message:


Re-added the new packet allocation method in PS input, using packet caches.
With warning level 1, you can see when a packet is allocated or freed; the
goal is to never call 'malloc' nor 'free', except at the beginning of the 
stream.
The size of the different caches can be adjusted in plugins/mpeg/input_ps.h.
If 'free' is called too often, it means that a cache is too small, so try
to increase its size.

-- 
asmax




More information about the vlc-devel mailing list