From 1f16245b4b4fc36c519e7afc9fd9cf828f25199d Mon Sep 17 00:00:00 2001 From: chenshijun <csj_sky@126.com> Date: 星期四, 28 二月 2019 20:06:35 +0800 Subject: [PATCH] 修改新增摄像机获取底图问题 解码两次问题 --- QiaoJiaSystem/DataManagerServer/http_configserver.cpp | 1 + QiaoJiaSystem/VideoToImageMulth/RtspCaptureElement.h | 2 +- QiaoJiaSystem/VideoToImageMulth/RtspImageRedis.h | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/QiaoJiaSystem/DataManagerServer/http_configserver.cpp b/QiaoJiaSystem/DataManagerServer/http_configserver.cpp index 6d83ede..260c97a 100644 --- a/QiaoJiaSystem/DataManagerServer/http_configserver.cpp +++ b/QiaoJiaSystem/DataManagerServer/http_configserver.cpp @@ -1060,6 +1060,7 @@ rec.str_username = QString::fromStdString(value["str_username"].asString()); rec.str_password = QString::fromStdString(value["str_password"].asString()); rec.str_brand = QString::fromStdString(value["str_brand"].asString()); + rec.str_reserved = QString::fromStdString(value["str_reserved"].asString()); type = value["n_type"].asInt(); // rec_sdk_old = db_c.searchCamSdkTableByCamId(rec.str_cam_dev_id); diff --git a/QiaoJiaSystem/VideoToImageMulth/RtspCaptureElement.h b/QiaoJiaSystem/VideoToImageMulth/RtspCaptureElement.h index e52ea77..144b561 100644 --- a/QiaoJiaSystem/VideoToImageMulth/RtspCaptureElement.h +++ b/QiaoJiaSystem/VideoToImageMulth/RtspCaptureElement.h @@ -41,7 +41,7 @@ std::string m_path; // Redis鐨勫伐鍏风被 - HiredisTool m_redisTool; +// HiredisTool m_redisTool; //瀵逛繚瀛樺埌Redis鐨勫浘鐗囪繘琛岃鏁� std::atomic<int> m_picCount{0}; diff --git a/QiaoJiaSystem/VideoToImageMulth/RtspImageRedis.h b/QiaoJiaSystem/VideoToImageMulth/RtspImageRedis.h index 12d0197..716b5cc 100644 --- a/QiaoJiaSystem/VideoToImageMulth/RtspImageRedis.h +++ b/QiaoJiaSystem/VideoToImageMulth/RtspImageRedis.h @@ -47,7 +47,7 @@ std::string m_camId; //姣忓彴鎽勫儚鏈轰繚瀛樺埌Redis鐨勫浘鐗囨暟閲忕殑鏈�澶у�� - const int M_CAM_PIC_MAX_COUNT = 25; + const int M_CAM_PIC_MAX_COUNT = 3; }; #endif // VIDEOCAPTUREELEMENT_H -- Gitblit v1.8.0