vp9-svc: Change default pattern for bypass mode
authorMarco Paniconi <marpan@google.com>
Mon, 27 Aug 2018 19:03:37 +0000 (12:03 -0700)
committerMarco Paniconi <marpan@google.com>
Mon, 27 Aug 2018 19:08:29 +0000 (12:08 -0700)
For sample encoder: keep default pattern for bypass
mode to example#0.

Change-Id: Icddc4600d750a23a44b26517a327b546fd8eb412

examples/vp9_spatial_svc_encoder.c

index e64e8ab..8e3f17e 100644 (file)
@@ -873,7 +873,7 @@ int main(int argc, const char **argv) {
     // 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.
     // 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
     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