shithub: libvpx

Download patch

ref: d9872c5a5ad53bd24011814a855f018ac4b085e1
parent: c172de2f282a42a3c24abbb0d95b39315122480d
parent: 70391e8fd69cb72b5babd7fbb9e8927ecdbefb6b
author: James Zern <jzern@google.com>
date: Mon Dec 10 14:49:14 EST 2018

Merge "test/svc_*_test: fix SetConfig() signature"

--- a/test/svc_datarate_test.cc
+++ b/test/svc_datarate_test.cc
@@ -537,7 +537,7 @@
   bool denoiser_enable_layers_;
 
  private:
-  void SetConfig(int num_temporal_layer) {
+  virtual void SetConfig(const int num_temporal_layer) {
     cfg_.rc_end_usage = VPX_CBR;
     cfg_.g_lag_in_frames = 0;
     cfg_.g_error_resilient = 1;
--- a/test/svc_end_to_end_test.cc
+++ b/test/svc_end_to_end_test.cc
@@ -199,7 +199,7 @@
   vpx_svc_spatial_layer_sync_t svc_layer_sync_;
 
  private:
-  void SetConfig(int num_temporal_layer) {
+  virtual void SetConfig(const int num_temporal_layer) {
     cfg_.rc_buf_initial_sz = 500;
     cfg_.rc_buf_optimal_sz = 500;
     cfg_.rc_buf_sz = 1000;