This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/xawtv3.git tree:

Subject: Print plugin info only when debug
Author:  Dmitry Butskoy <[email protected]>
Date:    Thu Feb 3 15:29:17 2011 -0200

When I run v4lctl, I always see "Using libv4l plugin", wereas
previously this outputs nothing in normal work.

It seems "if (ng_debug)" was missed.

Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 libng/plugins/drv0-v4l2.tmpl.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

---

http://git.linuxtv.org/xawtv3.git?a=commitdiff;h=fdcc9b3b34b60b625b1fca05ca1faee79256b5b5

diff --git a/libng/plugins/drv0-v4l2.tmpl.c b/libng/plugins/drv0-v4l2.tmpl.c
index c11116e..d9e4f0d 100644
--- a/libng/plugins/drv0-v4l2.tmpl.c
+++ b/libng/plugins/drv0-v4l2.tmpl.c
@@ -468,6 +468,7 @@ v4l2_open_handle(char *device)
     int libv4l2_fd;
 #endif /* USE_LIBV4L */
 
+    if (ng_debug)
     fprintf(stderr, "Using %s plugin\n", PLUGIN_NAME);
 
     h = malloc(sizeof(*h));

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to