From 69c2040e55755a8a093815a34a6c7f495fd12f8d Mon Sep 17 00:00:00 2001 From: radius Date: Sat, 2 Dec 2017 21:29:13 -0500 Subject: [PATCH] fix slow motion --- configuration.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configuration.c b/configuration.c index 14b8d82c0a..30f985f4f3 100644 --- a/configuration.c +++ b/configuration.c @@ -2718,7 +2718,9 @@ static bool config_load_file(const char *path, bool set_defaults, *settings->paths.directory_system = '\0'; if (settings->floats.slowmotion_ratio < 1.0f) - configuration_set_float(settings, settings->floats.slowmotion_ratio, 1.0f); + { + configuration_set_float(settings, settings->floats.slowmotion_ratio, 15.0f); + } /* Sanitize fastforward_ratio value - previously range was -1 * and up (with 0 being skipped) */ @@ -2727,6 +2729,7 @@ static bool config_load_file(const char *path, bool set_defaults, configuration_set_float(settings, settings->floats.fastforward_ratio, 0.0f); } + #ifdef HAVE_LAKKA settings->bools.ssh_enable = path_file_exists(LAKKA_SSH_PATH); settings->bools.samba_enable = path_file_exists(LAKKA_SAMBA_PATH);