houxiao
2016-12-28 017b7eb736ccc53c52f81486be8196d7fafc3289
RtspFace/main.cpp
@@ -38,7 +38,17 @@
      }
   }
   
   //{
   {
      PL_H264Decoder* h264Decoder = (PL_H264Decoder*)pipeLine.push_elem("PL_H264Decoder");
      h264Decoder->init(nullptr);
   }
   {
      PL_AVFrameYUV420* avFrameYUV420 = (PL_AVFrameYUV420*)pipeLine.push_elem("PL_AVFrameYUV420");
      avFrameYUV420->init(nullptr);
   }
   //{//#todo queue should support deep copy
   //   PL_Queue_Config config;
   //   PL_Queue* queue1 = (PL_Queue*)pipeLine.push_elem("PL_Queue");
   //   bool ret = queue1->init(&config);
@@ -49,20 +59,10 @@
   //   }
   //}
   
   {
      PL_H264Decoder* h264Decoder = (PL_H264Decoder*)pipeLine.push_elem("PL_H264Decoder");
      h264Decoder->init(nullptr);
   }
   //{
   //   PL_AVFrameYUV420* avFrameYUV420 = (PL_AVFrameYUV420*)pipeLine.push_elem("PL_AVFrameYUV420");
   //   avFrameYUV420->init(nullptr);
   //   PL_H264Encoder* h264Encoder = (PL_H264Encoder*)pipeLine.push_elem("PL_H264Encoder");
   //   h264Encoder->init(nullptr);
   //}
   {
      PL_H264Encoder* h264Encoder = (PL_H264Encoder*)pipeLine.push_elem("PL_H264Encoder");
      h264Encoder->init(nullptr);
   }
   
   //{
   //   RTSPServerConfig config;