From d3d1d88da20abffe10c62089e758768a3461b8ca Mon Sep 17 00:00:00 2001
From: chenshijun <csj_sky@126.com>
Date: 星期四, 14 三月 2019 18:01:28 +0800
Subject: [PATCH] 解决ffmpeg打开失败没处理导致段错误的问题

---
 QiaoJiaSystem/VideoServer/QiaoJia/DB/DBStruct.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/QiaoJiaSystem/VideoServer/QiaoJia/DB/DBStruct.h b/QiaoJiaSystem/VideoServer/QiaoJia/DB/DBStruct.h
index 0ae7935..44e7822 100644
--- a/QiaoJiaSystem/VideoServer/QiaoJia/DB/DBStruct.h
+++ b/QiaoJiaSystem/VideoServer/QiaoJia/DB/DBStruct.h
@@ -61,6 +61,7 @@
         str_brand = "";
         str_reserved = "";
         n_type = -1;
+        type = -1;
     }
 
     int n_id;//鑷id
@@ -76,6 +77,7 @@
     QString str_brand;//鎽勫儚鏈哄搧鐗�
     QString str_reserved;//棰勭暀
     int n_type;//棰勭暀
+    int type;// 0 rtsp, 1 gb28181
 };
 
 struct Record_Cam_Chn {

--
Gitblit v1.8.0