]> granicus.if.org Git - libvpx/commitdiff
Don't set loop filter sharpness in vp9_change_config().
authorDmitry Kovalev <dkovalev@google.com>
Fri, 18 Apr 2014 20:59:30 +0000 (13:59 -0700)
committerDmitry Kovalev <dkovalev@google.com>
Fri, 18 Apr 2014 20:59:30 +0000 (13:59 -0700)
The right value is calculated and set in vp9_pick_filter_level().

Change-Id: I5f725ac21f90dc9b80181a09a2040970bf6671d4

vp9/encoder/vp9_onyx_if.c

index 1bcc95583019dc6b858212fd281813bb85899f7c..1aa250e8b07863619318a69b62783221d9c3acaa 100644 (file)
@@ -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.