We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7ddd36 commit 60a507cCopy full SHA for 60a507c
OpenNI2-FreenectDriver/src/VideoStream.hpp
@@ -52,7 +52,7 @@ namespace FreenectDriver
52
if (timestamp < prev_timestamp)
53
{
54
uint32_t prev_int = static_cast<uint32_t>(prev_timestamp);
55
- uint64_t temp_delta = std::abs(timestamp - prev_int);
+ uint64_t temp_delta = timestamp - prev_int;
56
prev_timestamp += temp_delta;
57
} else {
58
prev_timestamp = timestamp;
0 commit comments