From 5ebb416aafd9a0501fc715cd052d93762d14dbb3 Mon Sep 17 00:00:00 2001 From: Minyue Li Date: Tue, 8 May 2018 22:42:00 +0200 Subject: [PATCH] Fixing NetEq RTP player. A bug was introduced to NetEq RTP player in a recent CL: https://webrtc-review.googlesource.com/c/src/+/69806 This is to fix it. Bug: webrtc:9147 Change-Id: I949fd6b220d7c7f08c6e2940468232d1d955a3dc Reviewed-on: https://webrtc-review.googlesource.com/75321 Reviewed-by: Henrik Lundin Commit-Queue: Minyue Li Cr-Commit-Position: refs/heads/master@{#23181} --- modules/audio_coding/neteq/tools/neteq_rtpplay.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/audio_coding/neteq/tools/neteq_rtpplay.cc b/modules/audio_coding/neteq/tools/neteq_rtpplay.cc index 7428b82d80..47be82ff1a 100644 --- a/modules/audio_coding/neteq/tools/neteq_rtpplay.cc +++ b/modules/audio_coding/neteq/tools/neteq_rtpplay.cc @@ -530,7 +530,8 @@ int RunTest(int argc, char* argv[]) { '_'); std::cout << "Creating Matlab plot script " << matlab_script_name + ".m" << std::endl; - delay_analyzer->CreateMatlabScript(matlab_script_name + ".m"); + stats_getter.delay_analyzer()->CreateMatlabScript(matlab_script_name + + ".m"); } if (FLAG_pythonplot) { auto python_script_name = output_file_name; @@ -538,7 +539,8 @@ int RunTest(int argc, char* argv[]) { '_'); std::cout << "Creating Python plot script " << python_script_name + ".py" << std::endl; - delay_analyzer->CreatePythonScript(python_script_name + ".py"); + stats_getter.delay_analyzer()->CreatePythonScript(python_script_name + + ".py"); } printf("Simulation statistics:\n");