aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/callbacks.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/callbacks.c b/src/callbacks.c
index 83f397e..d731b86 100644
--- a/src/callbacks.c
+++ b/src/callbacks.c
@@ -381,7 +381,8 @@ void on_change_size_activate(GtkWidget *widget, cam_t *cam)
cam->width = width;
cam->height = height;
- printf("name = %s\n", name);
+ if (cam->debug == TRUE)
+ printf("name = %s\n", name);
if (cam->read == FALSE)
stop_streaming(cam);

Privacy Policy