capture.go
@@ -59,7 +59,7 @@ Width: w, Height: h, GB: gb, CPU: false, CPU: true, } gf := goffmpeg.New(conf) @@ -106,7 +106,6 @@ time.Sleep(time.Second) } } gf.Free() if tryTime > maxTry { err := fmt.Sprintf("try %d times to capture image, is url correct?\n", tryTime)