Commit 387c39d9 authored by Sebastien Petitdemange's avatar Sebastien Petitdemange Committed by Laurent Claustre

call validate frame header after an update

parent 64b13b0f
......@@ -330,6 +330,9 @@ namespace lima {
typedef std::map<long, long> FrameCbkCountMap;
typedef std::map<long, HeaderMap> FrameHeaderMap;
void _validateFrameHeader(long frame_nr,
CtControl& m_ctrl;
int m_nb_stream;
......@@ -1040,6 +1040,7 @@ void CtSaving::updateFrameHeader(long frame_nr,const HeaderMap &header)
result.first->second = i->second;
/** @brief validate a header for a frame.
this mean that the header is ready and can now be save.
......@@ -1051,6 +1052,12 @@ void CtSaving::validateFrameHeader(long frame_nr)
DEB_PARAM() << DEB_VAR1(frame_nr);
AutoMutex aLock(m_cond.mutex());
void CtSaving::_validateFrameHeader(long frame_nr,
AutoMutex& aLock)
SavingMode saving_mode = getAcqSavingMode();
if (saving_mode != CtSaving::AutoHeader)
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