edid-decode: fix HDMI video/audio latency calculation
commit2d44e1b01c7ed7d65b20ecdce62d354841832201
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Sat, 11 Mar 2023 18:21:51 +0000 (11 19:21 +0100)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Sat, 11 Mar 2023 18:21:51 +0000 (11 19:21 +0100)
treea88dce841556e4d802545d476d52ffbca9b76cac
parentd740dde3540a257a8974d2250b76049c119a473b
edid-decode: fix HDMI video/audio latency calculation

The calculation of the HDMI video and audio latencies in
milliseconds was wrong.

It's 2 * (lat - 1), not 1 + 2 * lat.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Reported-by: Dan N <dhn2-linux@stanfordalumni.org>
parse-cta-block.cpp