summaryrefslogtreecommitdiffstats
path: root/mpvcore
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-08-19 22:30:44 +0200
committerwm4 <wm4@nowhere>2013-08-19 22:32:25 +0200
commitf05206f89981872873841f6233b7a5e26031718f (patch)
tree458641a5263e2c8bf997c32f9918a82871615466 /mpvcore
parentfb022db423f928e3ded896ca80fe89d4b17ecce5 (diff)
downloadmpv-f05206f89981872873841f6233b7a5e26031718f.tar.bz2
mpv-f05206f89981872873841f6233b7a5e26031718f.tar.xz
m_option: make "add speed 0.1" command work
Was broken since the speed property was switched from float to double.
Diffstat (limited to 'mpvcore')
-rw-r--r--mpvcore/m_option.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mpvcore/m_option.c b/mpvcore/m_option.c
index 034c7d7c66..b51aa64bd5 100644
--- a/mpvcore/m_option.c
+++ b/mpvcore/m_option.c
@@ -653,6 +653,7 @@ const m_option_type_t m_option_type_double = {
.pretty_print = print_double_f3,
.copy = copy_opt,
.clamp = clamp_double,
+ .add = add_double,
};
#undef VAL