From f2fb5eb58ae50bb35f2d0ae2673a596adc06cb00 Mon Sep 17 00:00:00 2001
From: zhangmeng <775834166@qq.com>
Date: 星期一, 28 十月 2019 13:17:01 +0800
Subject: [PATCH] bug fixed gb mem leak

---
 csrc/cffmpeg.cpp |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/csrc/cffmpeg.cpp b/csrc/cffmpeg.cpp
index 6e54de4..4cf92da 100644
--- a/csrc/cffmpeg.cpp
+++ b/csrc/cffmpeg.cpp
@@ -33,6 +33,11 @@
     s->RunStream(input);
 }
 
+int c_ffmpeg_get_fps(const cffmpeg h){
+    Wrapper *s = (Wrapper*)h;
+    return s->GetFPS();
+}
+
 void c_ffmpeg_run_gb28181(const cffmpeg h){
     Wrapper *s = (Wrapper*)h;
     s->GB28181();

--
Gitblit v1.8.0