summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/TimestampDecoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/TimestampDecoder.cpp b/src/TimestampDecoder.cpp
index 7f1fb6e..3cfa0cc 100644
--- a/src/TimestampDecoder.cpp
+++ b/src/TimestampDecoder.cpp
@@ -49,7 +49,7 @@ frame_timestamp& frame_timestamp::operator+=(const double& diff)
new_pps += 16384000;
}
- while (new_pps > 16384000) {
+ while (new_pps >= 16384000) {
this->timestamp_sec += 1;
new_pps -= 16384000;
}