diff options
author | wm4 <wm4@nowhere> | 2013-08-19 22:30:44 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-08-19 22:33:39 +0200 |
commit | d3f7248ca973547c2a367dec5f2488e55a9003e4 (patch) | |
tree | c6acd496d7ff9c8d811168d69c26a0f79b026b0b | |
parent | 463b877ec02c3a987f71cebd7a2e315320894c71 (diff) | |
download | mpv-d3f7248ca973547c2a367dec5f2488e55a9003e4.tar.bz2 mpv-d3f7248ca973547c2a367dec5f2488e55a9003e4.tar.xz |
m_option: make "add speed 0.1" command work
Was broken since the speed property was switched from float to double.
-rw-r--r-- | mpvcore/m_option.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mpvcore/m_option.c b/mpvcore/m_option.c index 1e195bcece..1f160443c5 100644 --- a/mpvcore/m_option.c +++ b/mpvcore/m_option.c @@ -651,6 +651,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 |