summaryrefslogtreecommitdiffstats
path: root/core/options.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/options.c')
-rw-r--r--core/options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/options.c b/core/options.c
index e2a7589708..0409288b9e 100644
--- a/core/options.c
+++ b/core/options.c
@@ -448,7 +448,7 @@ const m_option_t mp_opts[] = {
OPT_INTRANGE("srate", force_srate, 0, 1000, 8*48000),
OPT_CHMAP("channels", audio_output_channels, CONF_MIN, .min = 1),
OPT_AUDIOFORMAT("format", audio_output_format, 0),
- OPT_FLOATRANGE("speed", playback_speed, 0, 0.01, 100.0),
+ OPT_DOUBLE("speed", playback_speed, M_OPT_RANGE, .min = 0.01, .max = 100.0),
// set a-v distance
OPT_FLOATRANGE("audio-delay", audio_delay, 0, -100.0, 100.0),