From: Hans Verkuil Date: Fri, 28 Feb 2014 09:54:34 +0000 (+0100) Subject: qv4l2: QUERYSTD returns STD_UNKNOWN if there is no standard X-Git-Tag: v4l-utils-1.2.0~167 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bcdc27a401ae2f58fc636a38fd60e52fc688865b;p=platform%2Fupstream%2Fv4l-utils.git 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 --- 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);