From 168cad8214b2229130485fdbf3f64d85ac458402 Mon Sep 17 00:00:00 2001 From: pansen <pansen626@sina.com> Date: 星期四, 11 四月 2019 17:35:36 +0800 Subject: [PATCH] 添加宏定义屏蔽VptRpcElement并替换为VptRpcElement --- QiaoJiaSystem/StructureApp/AppPipeController.h | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/QiaoJiaSystem/StructureApp/AppPipeController.h b/QiaoJiaSystem/StructureApp/AppPipeController.h index 367af7a..0bb873a 100644 --- a/QiaoJiaSystem/StructureApp/AppPipeController.h +++ b/QiaoJiaSystem/StructureApp/AppPipeController.h @@ -20,6 +20,7 @@ #include <jsoncpp/json/json.h> #include "DBStruct.h" #include "SaveVideoRpc.h" +#include "VptRpcElement.h" class VideoCaptureElementNotDecoder : public ffmpeg::VideoCaptureElement { using ffmpeg::VideoCaptureElement::VideoCaptureElement; @@ -105,7 +106,13 @@ SaveVideoRpcClient_t m_rpcClient; VideoCaptureElementNotDecoder videoCaptureElement; // ffmpeg::VideoCaptureElement videoCaptureElement; + +#ifdef YOLOSERVER YoloRpcElement yoloRpcElement; +#else + VptRpcElement vptRpcElement; +#endif + FaceRpcElement faceRpcElement; FaceExtractElement faceExtractElement; ImageDrawElement imageDrawElement; -- Gitblit v1.8.0