From 319a8fdf2f79033e5a653d112305066bccdc2d59 Mon Sep 17 00:00:00 2001
From: zhangmeng <775834166@qq.com>
Date: 星期一, 04 十一月 2019 11:07:16 +0800
Subject: [PATCH] bug fix

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