From fbf8e89d06d98414ef04e5b33b2525e71fdc9859 Mon Sep 17 00:00:00 2001 From: qydysky Date: Wed, 22 May 2024 13:18:58 +0000 Subject: [PATCH] =?utf8?q?Fix=20=E9=85=8D=E7=BD=AE=E2=80=9C=E7=9B=B4?= =?utf8?q?=E6=92=AD=E6=B5=81=E4=B8=8D=E4=BD=BF=E7=94=A8mcdn=E2=80=9C?= =?utf8?q?=E5=A4=B1=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- F/api.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/F/api.go b/F/api.go index 09bb291..292e724 100644 --- a/F/api.go +++ b/F/api.go @@ -408,7 +408,7 @@ func (t *GetFunc) configStreamType(sts []struct { if _, ok := t.Qn[t.Live_qn]; !ok { apilog.L(`W: `, `未知的清晰度`, t.Live_qn) } - apilog.L(`T: `, fmt.Sprintf("使用 %d 条直播流 %s %s %s", len(t.Live), t.Qn[t.Live_qn], wantTypes[chosen].Format_name, wantTypes[chosen].Codec_name)) + apilog.L(`T: `, fmt.Sprintf("获取到 %d 条直播流 %s %s %s", len(t.Live), t.Qn[t.Live_qn], wantTypes[chosen].Format_name, wantTypes[chosen].Codec_name)) }() // 期望类型 @@ -466,7 +466,7 @@ func (t *GetFunc) configStreamType(sts []struct { } } - t.Live = append(t.Live, item) + t.Live = append(t.Live, &item) } // 已选定并设置好参数 退出 -- 2.39.2