Skip to content
Snippets Groups Projects

Implements #134 source groups

Merged Nicolas Pope requested to merge feature/134/usegroup into master
1 file
+ 3
2
Compare changes
  • Side-by-side
  • Inline
@@ -220,12 +220,13 @@ void NetSource::_recvChunk(int64_t ts, int chunk, bool delta, const vector<unsig
@@ -220,12 +220,13 @@ void NetSource::_recvChunk(int64_t ts, int chunk, bool delta, const vector<unsig
// Silent ignore?
// Silent ignore?
}
}
}
}
++frame.chunk_count;
if (timestamp_ > 0 && frame.timestamp <= timestamp_) {
if (timestamp_ > 0 && frame.timestamp <= timestamp_) {
LOG(ERROR) << "BAD DUPLICATE FRAME - " << timestamp_ - frame.timestamp;
LOG(ERROR) << "BAD DUPLICATE FRAME - " << timestamp_ - frame.timestamp;
 
return;
}
}
 
 
++frame.chunk_count;
if (frame.chunk_count > kChunkCount) LOG(FATAL) << "TOO MANY CHUNKS";
if (frame.chunk_count > kChunkCount) LOG(FATAL) << "TOO MANY CHUNKS";
Loading