• Cyril Deguet's avatar
    · adff2a85
    Cyril Deguet authored
    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.
    adff2a85
input_ext-dec.h 22.9 KB