diff --git a/gui.cc b/gui.cc index ea840e2..8dcdfc9 100644 --- a/gui.cc +++ b/gui.cc @@ -174,10 +174,6 @@ gboolean cb_thread_detect (gpointer data) { gdk_window_invalidate_rect(gtk_widget_get_window(detect_da), NULL, true); filter.NewFrame(dout->image, dout->posx, dout->posy); - // - // matrix values - - detect.UnLockImageMutex(); // diff --git a/video.cc b/video.cc index b07af35..af18d23 100644 --- a/video.cc +++ b/video.cc @@ -84,6 +84,9 @@ void video_get_driverdevice(std::string *driver, std::string *device) { +/* + * will be called every 2000ms hardcoded @gui.cc function cb_window_show + */ gboolean videoctrl_update(gpointer data) { GtkWidget *grid = GTK_WIDGET(gtk_builder_get_object (GTK_BUILDER(_builder_), "vidctrl-grid")); GtkWidget *scale = NULL;