From: Jerome Jiang Date: Wed, 27 Mar 2019 23:12:04 +0000 (-0700) Subject: Disable mismatch check on vp9 svc examples. X-Git-Tag: v1.8.1~153^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a1857812ea6a727d9bda91b852f7b8a9f506ac3f;p=libvpx Disable mismatch check on vp9 svc examples. Change-Id: I49902a750758ba0ffe733be9b1efd0cdea44f936 --- diff --git a/examples/vp9_spatial_svc_encoder.c b/examples/vp9_spatial_svc_encoder.c index b987989a8..bd04a52b3 100644 --- a/examples/vp9_spatial_svc_encoder.c +++ b/examples/vp9_spatial_svc_encoder.c @@ -1196,7 +1196,8 @@ int main(int argc, const char **argv) { vpx_codec_control(&encoder, VP9E_GET_SVC_LAYER_ID, &layer_id); // Don't look for mismatch on top spatial and top temporal layers as they // are non reference frames. - if ((enc_cfg.ss_number_layers > 1 || enc_cfg.ts_number_layers > 1) && + // TODO(jianj): Investigate mismatch on 3SL when denoiser is on. + if (enc_cfg.ss_number_layers == 1 && !(layer_id.temporal_layer_id > 0 && layer_id.temporal_layer_id == (int)enc_cfg.ts_number_layers - 1 && cx_pkt->data.frame