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

Subject: v4l2-compliance: fix incorrect string compare.
Author:  Hans Verkuil <[email protected]>
Date:    Wed Sep 19 09:37:20 2012 +0200

OptSilent should be turned on when streaming to stdout. Unfortunately
the test for filename '-' (== stdout) was wrong, causing it to be turned
on when *not* streaming to stdout.

Signed-off-by: Hans Verkuil <[email protected]>
(cherry picked from commit fb1692e6d8f37ebfb02a1a488191fcb16adf22d7)

Signed-off-by: Gregor Jasny <[email protected]>

 utils/v4l2-ctl/v4l2-ctl-streaming.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

---

http://git.linuxtv.org/v4l-utils.git?a=commitdiff;h=5580bbd1dda22852a0889df1c649859c9affc8fe

diff --git a/utils/v4l2-ctl/v4l2-ctl-streaming.cpp 
b/utils/v4l2-ctl/v4l2-ctl-streaming.cpp
index 9dd868f..b7746e7 100644
--- a/utils/v4l2-ctl/v4l2-ctl-streaming.cpp
+++ b/utils/v4l2-ctl/v4l2-ctl-streaming.cpp
@@ -176,7 +176,7 @@ void streaming_cmd(int ch, char *optarg)
                break;
        case OptStreamTo:
                file = optarg;
-               if (strcmp(file, "-"))
+               if (!strcmp(file, "-"))
                        options[OptSilent] = true;
                break;
        case OptStreamFrom:

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

Reply via email to