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
1096 | 1096 | (x[i+2] & 0x02) ? " 20" : "", |
1097 | 1097 | (x[i+2] & 0x01) ? " 16" : ""); |
1098 | 1098 | } 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); | |
1100 | 1100 | } else if (format == 14) { |
1101 | 1101 | printf(" Profile: %d\n", x[i+2] & 7); |
1102 | 1102 | } else if ((ext_format >= 4 && ext_format <= 6) || |