1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-21 06:14:32 +00:00
mpv/player
wm4 f1205293a7 command: make "add <property> 0" not change the value
The value 0 was treated specially, and effectively forced the increment
to 1. Interestingly, passing 0 or no value also does not include the
scale (from touchpads etc.), but this is probably an accidental behavior
that was never intentionally added.

Simplify it and make the default increment 1. 0 now means what it
should: the value will not be changed. This is not particularly useful,
but on the other hand there is no need for surprising and unintuitive
semantics.

OARG_CYCLEDIR() failed to apply the default value, because
m_option_type_cycle_dir was missing a copy handler - add this too.
2015-09-10 14:15:48 +02:00
..
lua osc: reinit on playlist changes 2015-08-29 02:17:21 -07:00
audio.c audio: don't sleep when finishing audio resync 2015-08-23 21:41:09 +02:00
client.c client API: improve an error message 2015-08-28 20:50:32 +02:00
client.h
command.c command: make "add <property> 0" not change the value 2015-09-10 14:15:48 +02:00
command.h video: always re-probe auto deint filter on filter reconfig 2015-07-21 21:54:15 +02:00
configfiles.c options: fix --no-config 2015-09-05 15:33:19 +02:00
core.h player: add display sync mode 2015-08-10 18:48:45 +02:00
loadfile.c player: log error code on playback exit 2015-09-03 14:45:32 +02:00
lua.c osd: delay libass initialization as far as possible 2015-09-07 14:26:01 +02:00
main.c
misc.c stream: provide a stream_get_size() convenience function 2015-08-18 00:10:54 +02:00
osd.c player: use OSD formattin for DS on the terminal status line 2015-08-12 22:26:35 +02:00
playloop.c player: return better guess for playback time during seeks 2015-08-21 15:37:07 +02:00
screenshot.c screenshot: avoid confusing template error message with no file 2015-09-02 10:34:36 +02:00
screenshot.h
scripting.c
sub.c
video.c video: disable interpolation during framestepping 2015-08-25 21:48:11 +02:00