summaryrefslogtreecommitdiffstats
path: root/input/input.c
diff options
context:
space:
mode:
authorJames Ross-Gowan <rossymiles@gmail.com>2017-04-24 22:04:25 +1000
committerJames Ross-Gowan <rossymiles@gmail.com>2017-05-12 22:58:58 +1000
commit6ccb7b5fa520497461b282cf6a32dfac276f43d7 (patch)
tree3211782a794a3817f4fd10f5da732475f6b556ea /input/input.c
parentcc6922cf060e2ea619914a2ac3aa679760368bbf (diff)
downloadmpv-6ccb7b5fa520497461b282cf6a32dfac276f43d7.tar.bz2
mpv-6ccb7b5fa520497461b282cf6a32dfac276f43d7.tar.xz
command: mark some commands as "scalable"
Scalable commands (seek, cycle and add) understand the cmd->scale parameter and will "scale" their action accordingly, for example, a seek with scale = 0.5 will only seek half the specified amount and a seek with scale = 2.0 will seek twice as much. Mark these commands so in the next commit, input.c will be able to synthesize input with cmd->scale = 1 for non-scalable commands.
Diffstat (limited to 'input/input.c')
0 files changed, 0 insertions, 0 deletions