kopia lustrzana https://gitlab.com/sane-project/backends
xerox_mfp: blacklist SCX-4500W from jpeg mode
Fix issue #315876 reported by Bernard Cafarelli https://alioth.debian.org/tracker/?func=detail&atid=410366&aid=315876&group_id=30186merge-requests/8/head
rodzic
4accdae4ed
commit
54a55700f6
|
@ -206,9 +206,12 @@ static int isSupportedDevice(struct device __sane_unused__ *dev)
|
|||
{
|
||||
#ifdef HAVE_LIBJPEG
|
||||
/* Checking device which supports JPEG Lossy compression for color scanning*/
|
||||
if (dev->compressionTypes & (1 << 6))
|
||||
if (dev->compressionTypes & (1 << 6)) {
|
||||
/* blacklist malfunctioning device(s) */
|
||||
if (!strncmp(dev->sane.model, "SCX-4500W", 9))
|
||||
return 0;
|
||||
return 1;
|
||||
else
|
||||
} else
|
||||
return 0;
|
||||
#else
|
||||
return 0;
|
||||
|
|
Ładowanie…
Reference in New Issue