From 3aba2d1af9c242553567099cb68c216cdb2209a8 Mon Sep 17 00:00:00 2001 From: ehmaldonado Date: Fri, 30 Jun 2017 05:12:09 -0700 Subject: [PATCH] Fix android video_quality_loopback_test NOTRY=True TBR=kjellander@webrtc.org BUG=webrtc:7855 Review-Url: https://codereview.webrtc.org/2968683002 Cr-Commit-Position: refs/heads/master@{#18854} --- webrtc/examples/androidtests/video_quality_loopback_test.py | 4 ++-- webrtc/rtc_tools/video_analysis.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/webrtc/examples/androidtests/video_quality_loopback_test.py b/webrtc/examples/androidtests/video_quality_loopback_test.py index aa0d8a92b7..eed3b9c33a 100755 --- a/webrtc/examples/androidtests/video_quality_loopback_test.py +++ b/webrtc/examples/androidtests/video_quality_loopback_test.py @@ -106,7 +106,7 @@ def main(): download_tools_script = os.path.join(tools_dir, 'download_tools.py') _RunCommand([sys.executable, download_tools_script, toolchain_dir]) - testing_tools_dir = os.path.join(SRC_DIR, 'webrtc', 'tools', 'testing') + testing_tools_dir = os.path.join(SRC_DIR, 'webrtc', 'rtc_tools', 'testing') # Download, extract and build AppRTC. setup_apprtc_script = os.path.join(testing_tools_dir, 'setup_apprtc.py') @@ -181,7 +181,7 @@ def main(): ConvertVideo(reference_video, reference_video_yuv) # Run compare script. - compare_script = os.path.join(SRC_DIR, 'webrtc', 'tools', + compare_script = os.path.join(SRC_DIR, 'webrtc', 'rtc_tools', 'compare_videos.py') zxing_path = os.path.join(toolchain_dir, 'linux', 'zxing') diff --git a/webrtc/rtc_tools/video_analysis.py b/webrtc/rtc_tools/video_analysis.py index 885c2f542b..7dc8a2d49e 100755 --- a/webrtc/rtc_tools/video_analysis.py +++ b/webrtc/rtc_tools/video_analysis.py @@ -408,7 +408,7 @@ def FlipAndCropRecordings(options, test_file_name, test_file_location, def CompareVideos(options, cropped_ref_file, cropped_test_file): - """Runs the compare_video.py script from src/webrtc/rtc_tools using the file path. + """Runs the compare_video.py script from webrtc/rtc_tools using the file path. Uses the path from recording_result and writes the output to a file named in the reference video