diff --git a/vp9/encoder/vp9_encoder.c b/vp9/encoder/vp9_encoder.c index f8f681aec..14ef88ff6 100644 --- a/vp9/encoder/vp9_encoder.c +++ b/vp9/encoder/vp9_encoder.c @@ -3387,12 +3387,10 @@ static void encode_without_recode_loop(VP9_COMP *cpi, cpi->oxcf.rc_mode == VPX_VBR)) vp9_avg_source_sad(cpi); - // TODO(wonkap/marpan): For 1 pass SVC, since only ZERMOV is allowed for - // upsampled reference frame (i.e, svc->force_zero_mode_spatial_ref = 0), - // we should be able to avoid this frame-level upsampling. - // Keeping it for now as there is an asan error in the multi-threaded SVC - // rate control test if this upsampling is removed. - if (frame_is_intra_only(cm) == 0) { + // For 1 pass SVC, since only ZEROMV is allowed for upsampled reference + // frame (i.e, svc->force_zero_mode_spatial_ref = 0), we can avoid this + // frame-level upsampling. + if (frame_is_intra_only(cm) == 0 && !is_one_pass_cbr_svc(cpi)) { vp9_scale_references(cpi); }