From bcdc27a401ae2f58fc636a38fd60e52fc688865b Mon Sep 17 00:00:00 2001 From: Hans Verkuil Date: Fri, 28 Feb 2014 10:54:34 +0100 Subject: [PATCH] qv4l2: QUERYSTD returns STD_UNKNOWN if there is no standard Replace STD_ALL by STD_UNKNOWN in the qv4l2 checked for whether there is a signal or not. Signed-off-by: Hans Verkuil --- utils/qv4l2/general-tab.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/qv4l2/general-tab.cpp b/utils/qv4l2/general-tab.cpp index cb8be5d..805e9cd 100644 --- a/utils/qv4l2/general-tab.cpp +++ b/utils/qv4l2/general-tab.cpp @@ -1042,7 +1042,7 @@ void GeneralTab::qryStdClicked() if (!query_std(std)) return; - if (std == V4L2_STD_ALL) { + if (std == V4L2_STD_UNKNOWN) { info("No standard detected\n"); } else { s_std(std); -- 2.7.4