aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2021-08-12 11:36:43 +0200
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2021-08-12 11:36:43 +0200
commit58f4f974944c182890a09d040418dafa9a431e45 (patch)
tree26143c18acba08eb3a83d5b05d07b1976c147829
parente9976a2ed5a2bca1669fc7e59e5b5baf268ebe03 (diff)
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.cpp2
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) {

Privacy Policy