aboutsummaryrefslogtreecommitdiffstats
path: root/src/AVTInput.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2020-06-29 14:53:24 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2020-06-29 14:53:24 +0200
commit9bd7681bef959954116cff267f0d38051c5c3c37 (patch)
tree55fd6ab9065afc1ac45bf86679990e279b1d300f /src/AVTInput.h
parent35c1d8ecc5eada703613e7d55d99a96c47a9bc5d (diff)
downloadODR-SourceCompanion-9bd7681bef959954116cff267f0d38051c5c3c37.tar.gz
ODR-SourceCompanion-9bd7681bef959954116cff267f0d38051c5c3c37.tar.bz2
ODR-SourceCompanion-9bd7681bef959954116cff267f0d38051c5c3c37.zip
Add frame misalignment detection
Diffstat (limited to 'src/AVTInput.h')
-rw-r--r--src/AVTInput.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/AVTInput.h b/src/AVTInput.h
index fd6cf02..71805c7 100644
--- a/src/AVTInput.h
+++ b/src/AVTInput.h
@@ -119,6 +119,7 @@ class AVTInput
bool _frameAligned = false;
std::vector<uint8_t> _currentFrame;
int32_t _nbFrames = 0;
+ int32_t _expectedFrameIndex = 0;
std::chrono::system_clock::time_point _frameZeroTimestamp;
size_t _currentFrameSize = 0;