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.
Showing
Please register or sign in to comment