diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2020-06-29 15:17:32 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2020-06-29 15:17:32 +0200 |
commit | bda603e4d1d963f499b2f1a13d16c5a23e9f0246 (patch) | |
tree | 9bfdc311a513a755bb25cc096f361d672a0ca1d0 /src | |
parent | 9bd7681bef959954116cff267f0d38051c5c3c37 (diff) | |
download | ODR-SourceCompanion-bda603e4d1d963f499b2f1a13d16c5a23e9f0246.tar.gz ODR-SourceCompanion-bda603e4d1d963f499b2f1a13d16c5a23e9f0246.tar.bz2 ODR-SourceCompanion-bda603e4d1d963f499b2f1a13d16c5a23e9f0246.zip |
Reduce number of 'frame received' messages
Diffstat (limited to 'src')
-rw-r--r-- | src/AVTInput.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/AVTInput.cpp b/src/AVTInput.cpp index df8112c..955ca33 100644 --- a/src/AVTInput.cpp +++ b/src/AVTInput.cpp @@ -532,13 +532,9 @@ void AVTInput::_info(_frameType type, size_t size) } if (_lastInfoFrameType != _typeCantExtract) { _infoNbFrame++; - if ( (_infoNbFrame == 100) || - (_infoNbFrame < 10000 && _infoNbFrame % 1000 == 0) || - (_infoNbFrame < 100000 && _infoNbFrame % 10000 == 0) || - (_infoNbFrame % 100000 == 0) - ) + if (_infoNbFrame == 100 or _infoNbFrame % 100000 == 0) { - INFO("%zu 24ms-frames received\n", _infoNbFrame); + INFO("Startup ok, %zu 24ms-frames received\n", _infoNbFrame); } } } |