From a0f6a47217dce64bfcf4294ed9a24d26645e6aff Mon Sep 17 00:00:00 2001 From: David Michael Barr Date: Wed, 8 Apr 2020 12:24:48 +0900 Subject: [PATCH] Enable restoration filters for 4:2:2 --- src/encoder.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/encoder.rs b/src/encoder.rs index 64f4c469bf..f9ab3e1866 100644 --- a/src/encoder.rs +++ b/src/encoder.rs @@ -242,11 +242,8 @@ impl Sequence { enable_ref_frame_mvs: false, enable_warped_motion: false, enable_superres: false, - enable_cdef: config.speed_settings.cdef - && config.chroma_sampling != ChromaSampling::Cs422 - && enable_restoration_filters, + enable_cdef: config.speed_settings.cdef && enable_restoration_filters, enable_restoration: config.speed_settings.lrf - && config.chroma_sampling != ChromaSampling::Cs422 && enable_restoration_filters, enable_large_lru: true, enable_delayed_loopfilter_rdo: true,