From c73d6fde347cfb6e0386ab1c651e8f38f939e89e Mon Sep 17 00:00:00 2001
From: pansen <pansen626@sina.com>
Date: 星期三, 06 三月 2019 11:49:03 +0800
Subject: [PATCH] GB28181集成完成。录像bug暂未解决,已注释

---
 QiaoJiaSystem/GB28181DecoderModel/VideoCaptureElementWithRtp.cpp |   12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/QiaoJiaSystem/GB28181DecoderModel/VideoCaptureElementWithRtp.cpp b/QiaoJiaSystem/GB28181DecoderModel/VideoCaptureElementWithRtp.cpp
index 8bc24d3..bf433a6 100644
--- a/QiaoJiaSystem/GB28181DecoderModel/VideoCaptureElementWithRtp.cpp
+++ b/QiaoJiaSystem/GB28181DecoderModel/VideoCaptureElementWithRtp.cpp
@@ -6,19 +6,17 @@
 #include <qt5/QtCore/QDateTime>
 #include <basic/util/app/AppPreference.hpp>
 #include "VideoCaptureElementWithRtp.h"
-#include "RtspAnalysManager.h"
+#include <VideoToImageMulth/RtspAnalysManager.h>
 
 //std::string BASICGB28181::VideoCaptureElementWithRtp::m_chanPubID;
 //BASICGB28181::FFmpegDecoderJPG BASICGB28181::VideoCaptureElementWithRtp::m_fFmpegDecoderJPG;
 
 BASICGB28181::VideoCaptureElementWithRtp::VideoCaptureElementWithRtp(std::string &chanPubID, int fps,
                                                                      int streamTransType,
-                                                                     int gpuIdx) : m_chanPubID(chanPubID), m_fps(fps),
-                                                                                   m_running(false),
-                                                                                   m_waitSignal(false),
-                                                                                   m_streamTransType(streamTransType),
-                                                                                   m_gpuIdx(gpuIdx),
-                                                                                   m_userdata((long) this) {
+                                                                     int gpuIdx, RtspAnalysManager *manager)
+    : m_chanPubID(chanPubID), m_fps(fps), m_running(false),
+      m_waitSignal(false), m_streamTransType(streamTransType),
+      m_gpuIdx(gpuIdx), m_userdata((long) this), m_pManager(manager) {
 //    m_chanPubID = chanPubID;
 
     m_cutPath = appPref.getStringData("user.loop.absolute.path");

--
Gitblit v1.8.0