From 77973e5f553c10131ecb41a2e2299f992532949c Mon Sep 17 00:00:00 2001
From: chenshijun <csj_sky@126.com>
Date: 星期二, 12 三月 2019 10:10:47 +0800
Subject: [PATCH] 修改录制文件的pts没有,导致无法播放问题
---
QiaoJiaSystem/VideoServer/QiaoJia/DB/LDBTool.h | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/QiaoJiaSystem/VideoServer/QiaoJia/DB/LDBTool.h b/QiaoJiaSystem/VideoServer/QiaoJia/DB/LDBTool.h
index 3521d79..eb53d1c 100644
--- a/QiaoJiaSystem/VideoServer/QiaoJia/DB/LDBTool.h
+++ b/QiaoJiaSystem/VideoServer/QiaoJia/DB/LDBTool.h
@@ -50,6 +50,7 @@
bool deleteCamDevandSdkByCamID(QString strCamId);
bool updateCamDevTable(Record_Cam_Dev camRec);
std::list<Record_Cam_Dev> searchCamDevTableAll(void);
+ std::list<Record_Cam_Dev> searchCamDevTableByType(int type);
int searchCamDevNumber(void);
bool searchCamDevByCamId(QString strCamId);
bool updateCamDevSnapshot(const QString& strIp ,const QString& imgUrl);
@@ -135,6 +136,17 @@
QSqlTableModel *m_pModel;
QMutex m_mutexVisit;
+public:
+ QSqlDatabase* get_m_db() {
+ return &m_db;
+ }
+ QSqlTableModel* get_m_pModel() {
+ return m_pModel;
+ }
+ QMutex* get_m_mutexVisit() {
+ return &m_mutexVisit;
+ }
+
};
#endif // LDBTOOL_H
--
Gitblit v1.8.0