Skip to content

Commit

Permalink
wip -- not quite working yet
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredmales committed May 17, 2024
1 parent 165eb08 commit 5befbdd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/streamWriter/streamWriter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -974,8 +974,6 @@ void streamWriter::fgThreadExec()

if (atype != m_dataType || snx != m_width || sny != m_height || snz != length)
{
//**** close out here as if STOP_WRITING

break; // exit the nearest while loop and get the new image setup.
}

Expand All @@ -994,6 +992,8 @@ void streamWriter::fgThreadExec()
new_cnt0 = image.md[0].cnt0;
}

std::cerr << "new_cnt0: " << new_cnt0 << "\n";

///\todo cleanup skip frame handling.
if (new_cnt0 == last_cnt0) //<- this probably isn't useful really
{
Expand Down Expand Up @@ -1087,7 +1087,7 @@ void streamWriter::fgThreadExec()
{
m_nextChunkStart += m_writeChunkLength;
}

m_currChunkStartTime = m_currImageTime;

restartWriting = false;
Expand Down

0 comments on commit 5befbdd

Please sign in to comment.