mirror of
https://github.com/u2takey/ffmpeg-go.git
synced 2025-10-06 00:16:55 +08:00
support cgroup for limit resource
This commit is contained in:
@@ -81,6 +81,8 @@ func openCvProcess(xmlFile string, reader io.ReadCloser, w, h int) {
|
||||
|
||||
// show the image in the window, and wait 1 millisecond
|
||||
window.IMShow(img2)
|
||||
img.Close()
|
||||
img2.Close()
|
||||
if window.WaitKey(10) >= 0 {
|
||||
break
|
||||
}
|
||||
|
Reference in New Issue
Block a user