• Erwan Tulou's avatar
    skins2: improve callback system · 50200d70
    Erwan Tulou authored
    This patch is mainly intended to work out the async queue getting
    bigger and bigger when skins cannot keep up with command processing.
    Since flushing the queue is an infinite loop, this ends up in vlc
    hanging (frozen GUI). This happens when skins are complex (many controls,
    many timers, animated images, scrolling text, ...)
    
    With this patch, new commands of a given type can now replace pending
    commands not yet processed when that makes sense (e.g position, volume, ...).
    The position is really the one responsible for overflooding the queue.
    50200d70
vlcproc.cpp 27.1 KB