Skip to content

If brightness and contrast option is found, then always set it, even if it is zero

Without this patch, the brightness and contrast are set only if it is different than zero. It cause error, in following situation:

  • Change brightness/contrast to value different than zero
  • Start scanning. Notice that brightness/contrast has changed
  • Change brightness/contrast to zero
  • Without patch, brightness/contrast was not changed to zero

Current patch fixes that issue, and it's always set brightness/contrast.

Edited by Bartosz

Merge request reports