• Ganesh Ajjanagadde's avatar
    ffplay: add support for interactive volume control · f1a95833
    Ganesh Ajjanagadde authored
    This is a feature heavily inspired by the mpv player. At the moment, methods
    for adjusting volume in ffplay are rather clumsy: either one needs to set it
    system-wide, or one needs to set it via the volume filter.
    
    This patch adds key bindings identical to the mpv defaults for muting/unmuting
    and increasing/decreasing the volume interactively without any introduction of
    external dependencies.
    
    TODO: doc update, possible mouse button bindings (mpv has this).
    Signed-off-by: 's avatarGanesh Ajjanagadde <gajjanagadde@gmail.com>
    Signed-off-by: 's avatarMarton Balint <cus@passwd.hu>
    f1a95833
ffplay.c 130 KB