xuxiuxi
2017-05-11 109ffe9a777658936a38d0c146579a67c60a0d17
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;
   }
};