commands: remove separate direction arg from step commands
commitb1852e91ed8e1c5b3b30f02fa1c60764da44b6ac
authorUoti Urpala <uau@mplayer2.org>
Mon, 17 Sep 2012 17:54:45 +0000 (17 20:54 +0300)
committerUoti Urpala <uau@mplayer2.org>
Wed, 19 Sep 2012 14:15:59 +0000 (19 17:15 +0300)
tree091af571c64544ccd358ca85d1e73b720bdac984
parent213a224eec05cbd86b06abbdd843f2e252658b37
commands: remove separate direction arg from step commands

In the internal property API for modifying a value up/down, there was
both a step size parameter and separate STEP_UP / STEP_DOWN
operations. This was mostly redundant; anything communicated with the
latter distinction can be communicated with a negative step size.
Combine the M_PROPERTY_STEP_UP and M_PROPERTY_STEP_DOWN operations
into a single M_PROPERTY_STEP operation. This is mostly an internal
change, but there is at least one user-visible difference: the
step_property and step_property_osd commands no longer have an
optional third argument to indicate direction. I think this feature
was not commonly used.
DOCS/tech/slave.txt
command.c
input/input.c
m_property.c
m_property.h