From 4c609680fba570ee40ce323ab03dbb1e6522dda8 Mon Sep 17 00:00:00 2001 From: Dmitry Kovalev Date: Fri, 18 Apr 2014 13:59:30 -0700 Subject: [PATCH] Don't set loop filter sharpness in vp9_change_config(). The right value is calculated and set in vp9_pick_filter_level(). Change-Id: I5f725ac21f90dc9b80181a09a2040970bf6671d4 --- vp9/encoder/vp9_onyx_if.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/vp9/encoder/vp9_onyx_if.c b/vp9/encoder/vp9_onyx_if.c index 1bcc955..1aa250e 100644 --- a/vp9/encoder/vp9_onyx_if.c +++ b/vp9/encoder/vp9_onyx_if.c @@ -785,8 +785,6 @@ void vp9_change_config(struct VP9_COMP *cpi, const VP9EncoderConfig *oxcf) { cm->display_width = cpi->oxcf.width; cm->display_height = cpi->oxcf.height; - cm->lf.sharpness_level = cpi->oxcf.sharpness; - if (cpi->initial_width) { // Increasing the size of the frame beyond the first seen frame, or some // otherwise signaled maximum size, is not supported. -- 2.7.4