forgot to set to false

This commit is contained in:
Jared Bruni
2019-09-26 08:43:42 -07:00
parent 699ea4e4bb
commit 7a0a4f6bf9

View File

@@ -249,6 +249,11 @@ void Playback::run() {
while(!stop) {
mutex.lock();
if(ac::release_frames) {
std::cout << "Cleared Frames...\n";
ac::release_all_objects();
release_frames = false;
}
if(!capture.read(frame)) {
if(repeat_video && mode == MODE_VIDEO) {
mutex.unlock();