diff options
-rw-r--r-- | NEWS | 5 | ||||
-rw-r--r-- | vbe.c | 4 |
2 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,8 @@ +- monitor-get-edid-using-vbe: + o stop retrieval when a retrieved EDID extension block appears + identical to the main EDID block (observed with Onkyo TX-SR607 A/V + receiver) + Version 3.0 - 3 January 2010, by Anssi Hannula - monitor-get-edid-using-vbe: @@ -300,6 +300,10 @@ int get_edid(char *edid, int port, int skip_vbe_check) log_err("EDID: Failure reading extension block %d\n", i); break; } + if (memcmp(edid, edid + i * EDID_BLOCK_SIZE, EDID_BLOCK_SIZE) == 0) { + log_err("EDID: Extension block %d is identical to main EDID block, stopping retrieval\n", i); + break; + } } return i * EDID_BLOCK_SIZE; |