Commit 6c516f76 authored by Laurent Claustre's avatar Laurent Claustre
Browse files

CtSaving: clear() method is called by CtControl::prepareAcq(), do not remove...

CtSaving: clear() method is called by CtControl::prepareAcq(), do not remove the frame headers, user can set frame headers before and after prepareAcq()
parent cd294dd3
Pipeline #47690 passed with stages
in 22 minutes and 8 seconds
......@@ -1729,7 +1729,6 @@ void CtSaving::setEnableLogStat(bool enable, int stream_idx)
}
/** @brief clear everything.
- all header
- all waiting data to be saved
- close all stream
*/
......@@ -1743,9 +1742,6 @@ void CtSaving::clear()
}
AutoMutex aLock(m_cond.mutex());
if (m_frame_headers.size())
DEB_WARNING() << DEB_VAR1(m_frame_headers.size());
m_frame_headers.clear();
if (m_frame_datas.size())
DEB_WARNING() << DEB_VAR1(m_frame_datas.size());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment