fix(quark): set the transcoding link ContentLength to the correct size

This commit is contained in:
j2rong4cn
2025-07-20 16:40:32 +08:00
parent 811a862288
commit 6bb28d13f9

View File

@ -151,7 +151,7 @@ func (d *QuarkOrUC) getTranscodingLink(file model.Obj) (*model.Link, error) {
return &model.Link{
URL: resp.Data.VideoList[0].VideoInfo.URL,
ContentLength: resp.Data.Size,
ContentLength: resp.Data.VideoList[0].VideoInfo.Size,
Concurrency: 3,
PartSize: 10 * utils.MB,
}, nil