summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMarco <marpan@google.com>2014-11-26 11:11:34 -0800
committerMarco <marpan@google.com>2014-11-26 11:13:23 -0800
commite0b3e213c6c8d0ac7c4b46e0fe5ab601eab498fa (patch)
tree1fbedb4f736575217c43ebf2abfddaa231d651ba /examples
parent10f62d071c0130ae3309dae053b266815960578e (diff)
downloadlibvpx-e0b3e213c6c8d0ac7c4b46e0fe5ab601eab498fa.tar.gz
libvpx-e0b3e213c6c8d0ac7c4b46e0fe5ab601eab498fa.tar.bz2
libvpx-e0b3e213c6c8d0ac7c4b46e0fe5ab601eab498fa.zip
temporal_svc encoder: Change default setting for layering_mode = 0.
Change-Id: I5f723ada144d0bd82ee700ef28a4916fd64ba5e4
Diffstat (limited to 'examples')
-rw-r--r--examples/vpx_temporal_svc_encoder.c2
1 files changed, 1 insertions, 1 deletions
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");
}
}