Skip to content

Commit

Permalink
ptz: Remove unnecessary member variable
Browse files Browse the repository at this point in the history
  • Loading branch information
norihiro committed Jul 10, 2024
1 parent 77b85ec commit 23c497d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/libvisca-thread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ libvisca_thread::libvisca_thread()
zoom_got = 0;
pthread_mutex_init(&mutex, 0);

pthread_t thread;
pthread_create(&thread, NULL, libvisca_thread::thread_main, (void*)this);
pthread_detach(thread);
}
Expand Down
1 change: 0 additions & 1 deletion src/libvisca-thread.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
class libvisca_thread : public ptz_backend
{
pthread_mutex_t mutex;
pthread_t thread;
struct _VISCA_interface *iface;
struct _VISCA_camera *camera;
struct obs_data *data;
Expand Down

0 comments on commit 23c497d

Please sign in to comment.