diff options
author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2021-08-12 11:36:43 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2021-08-12 11:36:43 +0200 |
commit | 58f4f974944c182890a09d040418dafa9a431e45 (patch) | |
tree | 26143c18acba08eb3a83d5b05d07b1976c147829 | |
parent | e9976a2ed5a2bca1669fc7e59e5b5baf268ebe03 (diff) | |
download | v4l-utils-58f4f974944c182890a09d040418dafa9a431e45.tar.gz |
cec-compliance: wait up to 10s for Inactive Source reply
The current wait time of 3 seconds is a bit too short, increase to
10 seconds.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
-rw-r--r-- | utils/cec-compliance/cec-test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/cec-compliance/cec-test.cpp b/utils/cec-compliance/cec-test.cpp index fae6c304..6a6a9040 100644 --- a/utils/cec-compliance/cec-test.cpp +++ b/utils/cec-compliance/cec-test.cpp @@ -465,7 +465,7 @@ static int routing_control_inactive_source(struct node *node, unsigned me, unsig return OK_REFUSED; // It may take a bit of time for the Inactive Source message to take // effect, so sleep a bit. - response = util_receive(node, CEC_LOG_ADDR_TV, 3000, &msg, + response = util_receive(node, CEC_LOG_ADDR_TV, 10000, &msg, CEC_MSG_INACTIVE_SOURCE, CEC_MSG_ACTIVE_SOURCE, CEC_MSG_SET_STREAM_PATH); if (me == CEC_LOG_ADDR_TV) { |