diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-09-25 13:38:53 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-09-25 13:39:09 +0200 |
commit | b4663bbb85428ec3e4dd6725bb2d2ff2afa57bf6 (patch) | |
tree | cbbcdff5f5755a5f298096b0537cd03e55cb7a91 | |
parent | 2cd3d41a6b35ea978ebf797dcc10a800bd78c658 (diff) |
frames got clobbered, opencv sucks as usual
-rw-r--r-- | facetracknoir/gain-control.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/facetracknoir/gain-control.hpp b/facetracknoir/gain-control.hpp index 005ef9cc..98d45711 100644 --- a/facetracknoir/gain-control.hpp +++ b/facetracknoir/gain-control.hpp @@ -179,7 +179,7 @@ public: if (GAIN_HISTORY_COUNT > means_history.size() && history_timer.elapsed_ms() > GAIN_HISTORY_EVERY_MS) { - means_history.push_front(frame); + means_history.push_front(frame.clone()); if (GAIN_HISTORY_COUNT == means_history.size()) means_history.pop_back(); |