cavif-rs: fix build error
This commit is contained in:
parent
18a289c785
commit
fea2b14efd
@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Encoder/converter for AVIF images. Based on rav1e and av
|
||||
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=1.3.1-win
|
||||
TERMUX_PKG_REVISION=1
|
||||
TERMUX_PKG_SRCURL=https://github.com/kornelski/cavif-rs/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_SHA256=0f76ae20081d2031881d51871dd5b66cf5c0bec441a22c605f5bbba7dc55c8a8
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
|
18
packages/cavif-rs/latest-rav1e.patch
Normal file
18
packages/cavif-rs/latest-rav1e.patch
Normal file
@ -0,0 +1,18 @@
|
||||
commit e3580f273a8dd83c71bb4ad10b393585dde02c46
|
||||
Author: Kornel <kornel@geekhood.net>
|
||||
Date: Wed Sep 15 09:40:59 2021 +0100
|
||||
|
||||
Update for latest rav1e
|
||||
|
||||
diff --git a/ravif/src/av1encoder.rs b/ravif/src/av1encoder.rs
|
||||
index edcc1c1..2afcb85 100644
|
||||
--- a/ravif/src/av1encoder.rs
|
||||
+++ b/ravif/src/av1encoder.rs
|
||||
@@ -285,7 +285,6 @@ impl SpeedTweaks {
|
||||
let mut speed_settings = SpeedSettings::from_preset(self.speed_preset.into());
|
||||
|
||||
speed_settings.multiref = false;
|
||||
- speed_settings.fast_scene_detection = true;
|
||||
speed_settings.no_scene_detection = true;
|
||||
speed_settings.include_near_mvs = false;
|
||||
|
Loading…
Reference in New Issue
Block a user