From bbf0417b36d08ed906c07450a777c2e377fe7d22 Mon Sep 17 00:00:00 2001 From: Thulinma Date: Fri, 25 Dec 2015 15:47:22 +0100 Subject: [PATCH] Disable resume support for live buffers by default. --- src/input/input_buffer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/input/input_buffer.cpp b/src/input/input_buffer.cpp index 4fac8a85..c6f73bde 100644 --- a/src/input/input_buffer.cpp +++ b/src/input/input_buffer.cpp @@ -68,8 +68,8 @@ namespace Mist { option["arg"] = "integer"; option["long"] = "resume"; option["short"] = "R"; - option["help"] = "Enable resuming support (1, default) or disable resuming support (0)"; - option["value"].append(1LL); + option["help"] = "Enable resuming support (1) or disable resuming support (0, default)"; + option["value"].append(0LL); config->addOption("resume", option); capa["optional"]["resume"]["name"] = "Resume support"; capa["optional"]["resume"]["help"] = "If enabled, the buffer will linger after source disconnect to allow resuming the stream later. If disabled, the buffer will instantly close on source disconnect.";