From 48c8a8ce082ebdb992cb52cdd766298e8ca19011 Mon Sep 17 00:00:00 2001
From: zhangmeng <775834166@qq.com>
Date: 星期二, 25 五月 2021 11:04:56 +0800
Subject: [PATCH] bug fixed gb28181 capture picture

---
 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