From 07fb2c16c75734d8c127585353249f529ea1262c Mon Sep 17 00:00:00 2001 From: pans <pansen626@sina.com> Date: 星期四, 14 三月 2019 17:39:25 +0800 Subject: [PATCH] Merge branch 'yw.1.2.fixbug' of ssh://192.168.1.226:29418/development/c++ into yw.1.2.fixbug --- QiaoJiaSystem/VideoToImageMulth/RtspAnalysManager.cpp | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/QiaoJiaSystem/VideoToImageMulth/RtspAnalysManager.cpp b/QiaoJiaSystem/VideoToImageMulth/RtspAnalysManager.cpp index a49c256..e1e3227 100644 --- a/QiaoJiaSystem/VideoToImageMulth/RtspAnalysManager.cpp +++ b/QiaoJiaSystem/VideoToImageMulth/RtspAnalysManager.cpp @@ -58,13 +58,14 @@ // item.str_password.toStdString(), item.str_brand.toStdString()); INFO("cam add is " << item.str_addr.toStdString()); addCamera(t_camIdex, rtsp_url); + sleep(1); } } else { - ERR("searchCamDevTableAll size is 0"); + ERR("searchCamDevTableByType size is 0"); } } else { - auto lst = m_lDBTool->searchCamDevTableAll(); + auto lst = m_lDBTool->searchCamDevTableByType(0); Record_Config lst_dev = m_lDBTool->searchConfigTableWithinServerInfo(); //璁剧疆瑙嗛鐨勬渶闀垮拰鏈�鐭椂闂撮棿闅� @@ -115,7 +116,7 @@ // // } } else { - ERR("searchCamDevTableAll size is 0"); + ERR("searchCamDevTableByType size is 0"); } } } -- Gitblit v1.8.0