From: qydysky <32743305+qydysky@users.noreply.github.com> Date: Tue, 17 Jan 2023 16:07:22 +0000 (+0800) Subject: fix X-Git-Tag: v0.5.11~52 X-Git-Url: http://127.0.0.1:8081/?a=commitdiff_plain;h=46d20d0a02bfbefcb41dda8ba1675965814d2a1e;p=bili_danmu%2F.git fix --- diff --git a/Reply/stream.go b/Reply/stream.go index 835469c..d78ecdf 100644 --- a/Reply/stream.go +++ b/Reply/stream.go @@ -528,7 +528,7 @@ func (t *M4SStream) saveStream() (e error) { t.Current_save_path = t.config.save_path + "/" + time.Now().Format("2006_01_02_15_04_05_000") + "_" + strconv.Itoa(t.common.Roomid) + `/` // 清除初始值 - t.last_m4s.reset() + t.last_m4s = nil // 显示保存位置 if rel, err := filepath.Rel(t.config.save_path, t.Current_save_path); err == nil {