Skip to content

Commit 6bb28d1

Browse files
committed
fix(quark): set the transcoding link ContentLength to the correct size
1 parent 811a862 commit 6bb28d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/quark_uc/util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ func (d *QuarkOrUC) getTranscodingLink(file model.Obj) (*model.Link, error) {
151151

152152
return &model.Link{
153153
URL: resp.Data.VideoList[0].VideoInfo.URL,
154-
ContentLength: resp.Data.Size,
154+
ContentLength: resp.Data.VideoList[0].VideoInfo.Size,
155155
Concurrency: 3,
156156
PartSize: 10 * utils.MB,
157157
}, nil

0 commit comments

Comments
 (0)