shithub: libvpx

Download patch

ref: b2f9b627e3ed2db23b6f856f4307e97879f68575
parent: d85c8515e3be9dfe9c2602189ba7ce9535df6c7a
author: Marco Paniconi <marpan@google.com>
date: Mon Aug 27 08:03:37 EDT 2018

vp9-svc: Change default pattern for bypass mode

For sample encoder: keep default pattern for bypass
mode to example#0.

Change-Id: Icddc4600d750a23a44b26517a327b546fd8eb412

--- a/examples/vp9_spatial_svc_encoder.c
+++ b/examples/vp9_spatial_svc_encoder.c
@@ -873,7 +873,7 @@
     // to fixed SVC patterns. example_pattern = 1: 2 spatial and 2 temporal
     // layers, with SL0 only has TL0, and SL1 has both TL0 and TL1. This example
     // uses the extended API.
-    int example_pattern = 1;
+    int example_pattern = 0;
     if (frame_cnt >= app_input.frames_to_code || !vpx_img_read(&raw, infile)) {
       // We need one extra vpx_svc_encode call at end of stream to flush
       // encoder and get remaining data