mirror of
https://github.com/Motion-Project/motion.git
synced 2026-04-30 02:45:19 -04:00
Revise running_cam to running_dev
This commit is contained in:
@@ -1423,7 +1423,7 @@ void *motion_loop(void *arg)
|
||||
{
|
||||
ctx_dev *cam =(ctx_dev *) arg;
|
||||
|
||||
cam->running_cam = true;
|
||||
cam->running_dev = true;
|
||||
|
||||
pthread_mutex_lock(&cam->motapp->global_lock);
|
||||
cam->motapp->threads_running++;
|
||||
@@ -1463,7 +1463,7 @@ void *motion_loop(void *arg)
|
||||
pthread_mutex_unlock(&cam->motapp->global_lock);
|
||||
|
||||
cam->finish_dev = true;
|
||||
cam->running_cam = false;
|
||||
cam->running_dev = false;
|
||||
|
||||
pthread_exit(NULL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user