commit | 9c9b3a4b4629f61dc49df762823b08c8544b70b2 | [log] [tgz] |
---|---|---|
author | Kristian Høgsberg <krh@bitplanet.net> | Wed Jun 20 00:28:16 2012 -0400 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Wed Jun 20 00:28:19 2012 -0400 |
tree | 1104a964719925f642e5a010427b855144bd506a | |
parent | e0f832b4f04d5c1d10be4f448460f5795efb6a40 [diff] |
recorder: Always initialize prev when computing the run-length We need to initialize prev when we handle the initial pixel in a rectangle, or we may detect the following pixel as identical or different when it's not. This causes the top-left pixel in a rectangle to occasionally be wrong leaving a trail of "dirty pixels" in the capture.