From b73029149580370e62dd6c14a270aea902f85cf2 Mon Sep 17 00:00:00 2001 From: zhangmeng <775834166@qq.com> Date: 星期三, 18 九月 2019 09:52:30 +0800 Subject: [PATCH] fix rec bug --- csrc/cffmpeg.cpp | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/csrc/cffmpeg.cpp b/csrc/cffmpeg.cpp index bb5a79f..3a97159 100644 --- a/csrc/cffmpeg.cpp +++ b/csrc/cffmpeg.cpp @@ -38,12 +38,12 @@ void c_ffmpeg_run_gb28181(const cffmpeg h){ Wrapper *s = (Wrapper*)h; - s->UseGB28181(); + s->GB28181(); } void c_ffmepg_use_cpu(const cffmpeg h){ Wrapper *s = (Wrapper*)h; - s->UseCPU(); + s->CPUDec(); } @@ -64,7 +64,7 @@ std::string p(""), id(""); s->GetInfoRecorder(id, i, p); - // printf("cffmpeg get info : index : %d, file : %s\n", i, p.c_str()); + // printf("cffmpeg get info : index : %d, file : %s, recid: %s\n", i, p.c_str(), id.c_str()); *index = i; -- Gitblit v1.8.0