Fix AVIF speed

This commit is contained in:
DarthSim
2022-02-07 16:33:09 +06:00
parent 79903af6b8
commit eaa1c038a2

View File

@@ -620,7 +620,7 @@ vips_avifsave_go(VipsImage *in, void **buf, size_t *len, int quality, int speed)
"Q", quality,
"compression", VIPS_FOREIGN_HEIF_COMPRESSION_AV1,
#if VIPS_SUPPORT_AVIF_EFFORT
"effort", speed,
"effort", 9-speed,
#elif VIPS_SUPPORT_AVIF_SPEED
"speed", speed,
#endif