Skip to content

Commit 58f9296

Browse files
committed
provider/encodingcom: fix vet violation exposed in Go 1.15
1 parent 1f8fd25 commit 58f9296

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/provider/encodingcom/encodingcom_server_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ func convertFormat(format encodingcom.Format) encodingcom.PresetFormat {
321321
Bframes: format.Bframes,
322322
Gop: format.Gop,
323323
Metadata: format.Metadata,
324-
SegmentDuration: string(format.SegmentDuration),
324+
SegmentDuration: strconv.FormatUint(uint64(format.SegmentDuration), 10),
325325
Logo: format.Logo,
326326
VideoCodecParameters: string(videoCodecParams),
327327
Profile: format.Profile,

0 commit comments

Comments
 (0)