From 7086960e6657f60b475eb3157b25d16432463fb2 Mon Sep 17 00:00:00 2001 From: Saxon Date: Thu, 9 Jan 2020 13:25:31 +1030 Subject: [PATCH] revid/revid.go: fixed ring buffer related string literal confusion --- revid/revid.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/revid/revid.go b/revid/revid.go index 12f88f71..2dee85fc 100644 --- a/revid/revid.go +++ b/revid/revid.go @@ -721,10 +721,10 @@ func (r *Revid) Update(vars map[string]string) error { break } r.cfg.RTMPRBWriteTimeout = v - case "MTSRBElementSize": + case "MTSRBMaxElements": v, err := strconv.Atoi(value) if err != nil || v < 0 { - r.cfg.Logger.Log(logger.Warning, pkg+"invalid MTSRBElementSize var", "value", value) + r.cfg.Logger.Log(logger.Warning, pkg+"invalid MTSRBMaxElements var", "value", value) break } r.cfg.MTSRBMaxElements = v