From f346559ee07016172cab40b7fca5b2c5e09df899 Mon Sep 17 00:00:00 2001 From: zhangmeng <775834166@qq.com> Date: 星期四, 21 七月 2022 16:13:38 +0800 Subject: [PATCH] bug fixed --- csrc/wrapper.hpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/csrc/wrapper.hpp b/csrc/wrapper.hpp index e2d9a8b..b0df07a 100644 --- a/csrc/wrapper.hpp +++ b/csrc/wrapper.hpp @@ -46,7 +46,7 @@ int GetInfoRecorder(std::string &recID, int &index, std::string &path); public: - void GB28181(){gb_ = 1;} + void gb28181(){gb_ = 1;} void CPUDec(){cpu_ = 1;} void AudioSwitch(const bool a); void SetRecMinCacheTime(const int mind, const int maxd); @@ -96,7 +96,7 @@ const int pix_fmt, const int scale_flag, const int gi); void DestroyEncoder(void *h); int Encode(void *hdl, uint8_t *in, const int w, const int h, uint8_t **out, int *size, int *key); - int GetGb28181Pic(const char *filename, char *retData, int *retDataLen); + int GetGb28181Pic(const char *filename, char *retData, int *retDataLen, const int tt); } #endif \ No newline at end of file -- Gitblit v1.8.0