From: Marco Date: Wed, 26 Nov 2014 19:11:34 +0000 (-0800) Subject: temporal_svc encoder: Change default setting for layering_mode = 0. X-Git-Tag: v1.4.0~455 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e0b3e213c6c8d0ac7c4b46e0fe5ab601eab498fa;p=libvpx temporal_svc encoder: Change default setting for layering_mode = 0. Change-Id: I5f723ada144d0bd82ee700ef28a4916fd64ba5e4 --- diff --git a/examples/vpx_temporal_svc_encoder.c b/examples/vpx_temporal_svc_encoder.c index c2382cfab..8cc7f4a95 100644 --- a/examples/vpx_temporal_svc_encoder.c +++ b/examples/vpx_temporal_svc_encoder.c @@ -671,7 +671,7 @@ int main(int argc, char **argv) { vpx_codec_control(&codec, VP9E_SET_AQ_MODE, 3); vpx_codec_control(&codec, VP9E_SET_FRAME_PERIODIC_BOOST, 0); vpx_codec_control(&codec, VP9E_SET_NOISE_SENSITIVITY, 0); - if (vpx_codec_control(&codec, VP9E_SET_SVC, 1)) { + if (vpx_codec_control(&codec, VP9E_SET_SVC, layering_mode > 0 ? 1: 0)) { die_codec(&codec, "Failed to set SVC"); } }