shithub: libvpx

Download patch

ref: a945f344e04d2851cd675cca48182cca2e7d8a4e
parent: 9a25e3169b59ca822558024423c5675790ffcf5b
author: Jerome Jiang <jianj@google.com>
date: Tue Jun 15 10:55:29 EDT 2021

Change the data path in svc rate control test

Change-Id: Iba58e2aa2578964b5c8b48ab0acbee9b44bcdada

--- a/test/ratectrl_rtc_test.cc
+++ b/test/ratectrl_rtc_test.cc
@@ -115,8 +115,7 @@
     libvpx::VP9FrameParamsQpRTC frame_params;
     frame_params.frame_type = KEY_FRAME;
     std::ifstream svc_file;
-    svc_file.open(std::string(std::getenv("LIBVPX_TEST_DATA_PATH")) +
-                  "/rc_interface_test_svc");
+    svc_file.open(libvpx_test::GetDataPath() + "/rc_interface_test_svc");
     ASSERT_TRUE(svc_file.good());
     for (size_t i = 0; i < kNumFrame * rc_cfg_.ss_number_layers; i++) {
       svc_file >> frame_info;