From c5a01eed95f1837e93fee27bce4da78c79f4ed10 Mon Sep 17 00:00:00 2001 From: zhangmeng <775834166@qq.com> Date: 星期二, 12 十一月 2019 17:41:43 +0800 Subject: [PATCH] update --- 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