From 4d1200010c1d3277976487a9bd52d7a7c5cfbc47 Mon Sep 17 00:00:00 2001
From: xuxiuxi <xuxiuxi@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期四, 23 三月 2017 15:19:31 +0800
Subject: [PATCH]
---
VisitFace/RtspNativeCodec/app/src/main/cpp/CameraWrapper.cpp | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/VisitFace/RtspNativeCodec/app/src/main/cpp/CameraWrapper.cpp b/VisitFace/RtspNativeCodec/app/src/main/cpp/CameraWrapper.cpp
index 5a88d00..6df8c17 100644
--- a/VisitFace/RtspNativeCodec/app/src/main/cpp/CameraWrapper.cpp
+++ b/VisitFace/RtspNativeCodec/app/src/main/cpp/CameraWrapper.cpp
@@ -52,7 +52,8 @@
LOG_ERROR << "amcDecoder.init error" << LOG_ENDL;
return false;
}
-
+
+#ifdef USE_ST_SDK
PL_SensetimeFaceTrack* sfTrack = (PL_SensetimeFaceTrack*)pipeLine->push_elem("PL_SensetimeFaceTrack");
ret = sfTrack->init(&sftConfig);
if (!ret)
@@ -60,6 +61,7 @@
LOG_ERROR << "sfTrack.init error" << LOG_ENDL;
return false;
}
+#endif
return true;
}
--
Gitblit v1.8.0