mirror of
https://github.com/TeamPiped/piped-proxy.git
synced 2024-08-14 23:50:45 +00:00
Reduce speed in avif encoding.
This commit is contained in:
parent
85a4beeb54
commit
477c412875
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ async fn index(req: HttpRequest) -> Result<HttpResponse, Box<dyn Error>> {
|
||||||
|
|
||||||
let res = Encoder::new()
|
let res = Encoder::new()
|
||||||
.with_quality(80f32)
|
.with_quality(80f32)
|
||||||
.with_speed(4)
|
.with_speed(7)
|
||||||
.encode_rgb(buffer);
|
.encode_rgb(buffer);
|
||||||
|
|
||||||
return if let Ok(res) = res {
|
return if let Ok(res) = res {
|
||||||
|
|
Loading…
Reference in a new issue