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: cec-follower: add INACTIVE_SOURCE support. Author: Hans Verkuil <hverkuil-ci...@xs4all.nl> Date: Mon Oct 14 15:15:13 2019 +0200 This was missing in the follower code. Signed-off-by: Hans Verkuil <hverkuil-ci...@xs4all.nl> utils/cec-follower/cec-processing.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) --- http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=ba5fe02c1b597bfcf99dcce4ced31dba8b30f318 diff --git a/utils/cec-follower/cec-processing.cpp b/utils/cec-follower/cec-processing.cpp index 2496a84989ce..c6e2c770f593 100644 --- a/utils/cec-follower/cec-processing.cpp +++ b/utils/cec-follower/cec-processing.cpp @@ -311,6 +311,22 @@ static void processMsg(struct node *node, struct cec_msg &msg, unsigned me) dev_info("New active source: %x.%x.%x.%x\n", cec_phys_addr_exp(phys_addr)); return; } + case CEC_MSG_INACTIVE_SOURCE: { + __u16 phys_addr; + + if (node->phys_addr) + break; + + cec_ops_active_source(&msg, &phys_addr); + if (node->state.active_source_pa != phys_addr) + break; + node->state.active_source_pa = 0; + cec_msg_init(&msg, me, CEC_LOG_ADDR_BROADCAST); + cec_msg_active_source(&msg, node->phys_addr); + transmit(node, &msg); + dev_info("New active source: 0.0.0.0\n"); + return; + } case CEC_MSG_IMAGE_VIEW_ON: case CEC_MSG_TEXT_VIEW_ON: if (!cec_has_tv(1 << me)) _______________________________________________ linuxtv-commits mailing list linuxtv-commits@linuxtv.org https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits