From ab3d17cd44625a762fc10f0f1fd8f2c46b980aff Mon Sep 17 00:00:00 2001 From: zhangmeng <775834166@qq.com> Date: 星期二, 26 四月 2022 11:42:19 +0800 Subject: [PATCH] capture use cpu and add arm version --- gostream.go | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/gostream.go b/gostream.go index 7ae6636..a0af494 100644 --- a/gostream.go +++ b/gostream.go @@ -8,6 +8,11 @@ import "unsafe" +// CloseStream close stream +func (h *GoFFMPEG) CloseStream() { + C.wrap_fn_close_stream(unsafe.Pointer(libcffmpeg), h.ffmpeg) +} + //GetAVPacket get AVPacket func (h *GoFFMPEG) GetAVPacket() ([]byte, int, int) { var key C.int -- Gitblit v1.8.0