From a55bcd63caf8db05459bb46279634985ba273f6d Mon Sep 17 00:00:00 2001
From: zhangmeng <775834166@qq.com>
Date: 星期五, 19 七月 2019 17:34:51 +0800
Subject: [PATCH] update

---
 capture.go |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/capture.go b/capture.go
index b7c2bee..a780c0e 100644
--- a/capture.go
+++ b/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)

--
Gitblit v1.8.0