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: v4l2-ctl: if V4L2_CTRL_FLAG_UPDATE is set, use G/S_EXT_CTRLS Author: Hans Verkuil <hans.verk...@cisco.com> Date: Fri Jun 29 11:35:00 2018 +0200 This flag indicates that this control influences other controls, so use G/S_EXT_CTRLS in that case to be atomic when setting and getting such controls. E.g. this is relevant when setting both the gain and autogain for an auto-cluster. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> utils/v4l2-ctl/v4l2-ctl-common.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) --- http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=41a7f514751132f9c7bdb9b32fa51d97408d9807 diff --git a/utils/v4l2-ctl/v4l2-ctl-common.cpp b/utils/v4l2-ctl/v4l2-ctl-common.cpp index a3c7e3d2aa09..7ab629444df1 100644 --- a/utils/v4l2-ctl/v4l2-ctl-common.cpp +++ b/utils/v4l2-ctl/v4l2-ctl-common.cpp @@ -808,7 +808,8 @@ void common_set(int fd) memset(&ctrl, 0, sizeof(ctrl)); ctrl.id = qc.id; - if (qc.type == V4L2_CTRL_TYPE_INTEGER64) + if (qc.type == V4L2_CTRL_TYPE_INTEGER64 || + qc.flags & V4L2_CTRL_FLAG_UPDATE) use_ext_ctrls = true; if (qc.flags & V4L2_CTRL_FLAG_HAS_PAYLOAD) { struct v4l2_ext_controls ctrls = { 0, 1 }; @@ -988,7 +989,8 @@ void common_get(int fd) memset(&ctrl, 0, sizeof(ctrl)); ctrl.id = qc.id; - if (qc.type == V4L2_CTRL_TYPE_INTEGER64) + if (qc.type == V4L2_CTRL_TYPE_INTEGER64 || + qc.flags & V4L2_CTRL_FLAG_UPDATE) use_ext_ctrls = true; if (qc.flags & V4L2_CTRL_FLAG_HAS_PAYLOAD) { use_ext_ctrls = true; _______________________________________________ linuxtv-commits mailing list linuxtv-commits@linuxtv.org https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits