From b73029149580370e62dd6c14a270aea902f85cf2 Mon Sep 17 00:00:00 2001
From: zhangmeng <775834166@qq.com>
Date: 星期三, 18 九月 2019 09:52:30 +0800
Subject: [PATCH] fix rec bug
---
csrc/thirdparty/gb28181/include/PsToEs.hpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/csrc/thirdparty/gb28181/include/PsToEs.hpp b/csrc/thirdparty/gb28181/include/PsToEs.hpp
index 51f613a..a46f516 100644
--- a/csrc/thirdparty/gb28181/include/PsToEs.hpp
+++ b/csrc/thirdparty/gb28181/include/PsToEs.hpp
@@ -184,10 +184,11 @@
void deleteCamera(){
printf("RTSPSTREAM_Close\n");
RTSPSTREAM_Close(handle);
+ handle = -1;
}
private:
MyQueue<frameBuffInfo *> m_rtpQueue;
- long handle;
+ long handle = -1;
};
--
Gitblit v1.8.0