xuxiuxi
2017-04-20 d2f697fa887e28b86d38332e2fbde930c54fb43f
RtspFace/PipeLine.cpp
@@ -102,6 +102,11 @@
   return false;
}
bool PipeLine::check_pipe_complete(PipeLineElem* lastRetElem) const
{
   return lastRetElem == *elems.rbegin();
}
PipeLineElem* PipeLine::push_elem(const std::string& type)
{
   elem_create_func_map_t::iterator iter = elem_create_func_map.find(type);
@@ -137,16 +142,16 @@
   PipeDebugger(PipeLine* _pipeLine) : 
      pipeLine(_pipeLine), retElem(nullptr), pm(nullptr)
   {
      //LOG_DEBUG << "pipe line begin";
      //LOG_DEBUG << "pipe line begin" << std::endl;
   }
   
   ~PipeDebugger()
   {
      //bool retOK = (*(pipeLine->elems).rbegin() == retElem);
      //if (retOK)
      //   LOG_DEBUG << "pipe line end, ret OK";
      //   LOG_DEBUG << "pipe line end, ret OK" << std::endl;
      //else
      //   LOG_WARN << "pipe line end, ret ERROR";
      //   LOG_WARN << "pipe line end, ret ERROR" << std::endl;
   }
};