Disable resume support for live buffers by default.

This commit is contained in:
Thulinma 2015-12-25 15:47:22 +01:00
parent a6ef31d1ea
commit bbf0417b36

View file

@ -68,8 +68,8 @@ namespace Mist {
option["arg"] = "integer"; option["arg"] = "integer";
option["long"] = "resume"; option["long"] = "resume";
option["short"] = "R"; option["short"] = "R";
option["help"] = "Enable resuming support (1, default) or disable resuming support (0)"; option["help"] = "Enable resuming support (1) or disable resuming support (0, default)";
option["value"].append(1LL); option["value"].append(0LL);
config->addOption("resume", option); config->addOption("resume", option);
capa["optional"]["resume"]["name"] = "Resume support"; 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."; 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.";