mirror of
https://github.com/lostjared/Acid.Cam.v2.Qt.git
synced 2025-12-18 21:00:13 +01:00
forgot to set to false
This commit is contained in:
@@ -249,6 +249,11 @@ void Playback::run() {
|
|||||||
|
|
||||||
while(!stop) {
|
while(!stop) {
|
||||||
mutex.lock();
|
mutex.lock();
|
||||||
|
if(ac::release_frames) {
|
||||||
|
std::cout << "Cleared Frames...\n";
|
||||||
|
ac::release_all_objects();
|
||||||
|
release_frames = false;
|
||||||
|
}
|
||||||
if(!capture.read(frame)) {
|
if(!capture.read(frame)) {
|
||||||
if(repeat_video && mode == MODE_VIDEO) {
|
if(repeat_video && mode == MODE_VIDEO) {
|
||||||
mutex.unlock();
|
mutex.unlock();
|
||||||
|
|||||||
Reference in New Issue
Block a user