viewer: fixed issue with reverse playback
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user