pans
2017-08-16 e473f9eeb0233afcbd38de5de975dea4d131026d
VisitFace/RtspNativeCodec/app/src/main/cpp/CameraWrapperClient.h
@@ -30,8 +30,9 @@
   PL_AndroidMediaCodecDecoder_Config amcdConfig;
   PL_AndroidSurfaceViewRender_Config asvrConfig;
   PL_Scale_Config plScaleCfg;
   int faceCount;
   int cameraIdx;
   bool faceCountChanged;
   JavaVM* javaVM;
   JNIEnv* javaEnv;
   jclass faceCallbackClazz;
@@ -41,6 +42,7 @@
   pthread_t decoder_thid;
   pthread_t live_daemon_thid;
   pthread_t jni_call_thid;
   pthread_mutex_t live_daemon_mut;
   bool running;
   volatile bool killed;
@@ -59,7 +61,7 @@
   CameraWrapper() : 
      pipeLineDecoderDetector(nullptr), pipeLineRender(nullptr), rtspConfig(), amcdConfig(), asvrConfig(),
      cameraIdx(0), javaVM(nullptr), javaEnv(nullptr), faceCallbackClazz(0), faceCallbackFunc(0), windowRender(nullptr), windowDecode(nullptr),
      decoder_thid(0), live_daemon_thid(0), live_daemon_mut(), running(false), killed(false), lastAliveTime(0),
      decoder_thid(0), live_daemon_thid(0),jni_call_thid(0), live_daemon_mut(), running(false), killed(false), lastAliveTime(0),
      faceCacheLocked(false), faceCache(),
      plplContext(), faceLabels(), fontPath()
   {
@@ -79,6 +81,7 @@
private:
   static void* decoder_thd(void *arg);
   static void* live_daemon_thd(void *arg);
   static void* jni_call_thd(void *arg);
   bool resetPl();
   bool initPl_DecoderPl();