Codebase list edid-decode / 3b26b8a
edid-decode: fix wrong sample rate unit Fixes https://bugs.freedesktop.org/show_bug.cgi?id=89348. The unit for the bit rate is kb/s, not kHz. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Hans Verkuil 5 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
10961096 (x[i+2] & 0x02) ? " 20" : "",
10971097 (x[i+2] & 0x01) ? " 16" : "");
10981098 } else if (format <= 8) {
1099 printf(" Maximum bit rate: %d kHz\n", x[i+2] * 8);
1099 printf(" Maximum bit rate: %d kb/s\n", x[i+2] * 8);
11001100 } else if (format == 14) {
11011101 printf(" Profile: %d\n", x[i+2] & 7);
11021102 } else if ((ext_format >= 4 && ext_format <= 6) ||