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

Subject: cec-ctl: skip warning if -s option was used.
Author:  Hans Verkuil <hans.verk...@cisco.com>
Date:    Tue Apr 3 09:57:13 2018 +0200

If the user specified the -s option, then skip the
"warn: this CEC adapter is configured." warning.

Also replace "warn:" with "note:" since "warn" is a bit too
strong.

Signed-off-by: Hans Verkuil <hans.verk...@cisco.com>

 utils/cec-ctl/cec-ctl.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

---

http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=65d4f9242cede9f6cdc0ee86dabae31cee552dee
diff --git a/utils/cec-ctl/cec-ctl.cpp b/utils/cec-ctl/cec-ctl.cpp
index bc252b90e821..468549303509 100644
--- a/utils/cec-ctl/cec-ctl.cpp
+++ b/utils/cec-ctl/cec-ctl.cpp
@@ -1507,8 +1507,8 @@ static void monitor(struct node &node, __u32 
monitor_time, const char *store_pin
                struct cec_log_addrs laddrs = { };
 
                doioctl(&node, CEC_ADAP_G_LOG_ADDRS, &laddrs);
-               if (laddrs.log_addr_mask) {
-                       fprintf(stderr, "warn: this CEC adapter is configured. 
This may cause inaccurate event\n");
+               if (laddrs.log_addr_mask && !options[OptSkipInfo]) {
+                       fprintf(stderr, "note: this CEC adapter is configured. 
This may cause inaccurate event\n");
                        fprintf(stderr, "      timestamps. It is recommended to 
unconfigure the adapter (cec-ctl -C)\n");
                }
        }

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to