viewer: fixed issue with reverse playback

This commit is contained in:
itsmattkc
2022-05-16 15:44:25 -07:00
parent 96594ef948
commit a48513a8a1
3 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ public:
if (this->empty() || (this->back().timestamp < f.timestamp) == (playback_speed > 0)) {
this->push_back(f);
} else {
for (iterator i=this->begin(); i!=this->end(); i++) {
for (auto i=this->begin(); i!=this->end(); i++) {
if ((i->timestamp > f.timestamp) == (playback_speed > 0)) {
this->insert(i, f);
break;