Chromium Code Reviews

Issue 2357883002: Avoid plotting data of different length in rtp log plotting tool. (Closed)

Created:
4 years, 3 months ago by aleloi
Modified:
4 years, 2 months ago
Reviewers:
hlundin-webrtc, phoglund
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, hlundin-webrtc
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

During a fix of an unrelated issue, a bug was introduced in the rtp analyzer tool: when the number of data points was divisible by RTPStatitstics.PLOT_RESOLUTION_MS (which is 50), pyplot.plot was called with arrays of different lengths. One of the arrays could be one element larger. This change trims the potentially longer array to the size of the smaller one. NOTRY=True BUG=none Committed: https://crrev.com/553024ab34e7307046388d20c29e9f9a8177aa0a Cr-Commit-Position: refs/heads/master@{#14657}

Patch Set 1 : this is the quick fix #

Unified diffs Side-by-side diffs Stats (+1 line, -1 line)
M webrtc/tools/py_event_log_analyzer/rtp_analyzer.py View 1 chunk +1 line, -1 line 0 comments

Messages

Total messages: 17 (10 generated)
hlundin-webrtc
lgtm
4 years, 3 months ago (2016-09-21 10:45:51 UTC) #5
aleloi
phoglund@, could you please take a look?
4 years, 2 months ago (2016-10-17 11:18:37 UTC) #8
hlundin-webrtc
Rubberstamp LGTM
4 years, 2 months ago (2016-10-17 16:38:39 UTC) #9
phoglund
lgtm
4 years, 2 months ago (2016-10-18 08:35:25 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2357883002/20001
4 years, 2 months ago (2016-10-18 08:36:50 UTC) #13
commit-bot: I haz the power
Committed patchset #1 (id:20001)
4 years, 2 months ago (2016-10-18 08:44:50 UTC) #15
commit-bot: I haz the power
4 years, 2 months ago (2016-10-18 08:44:59 UTC) #17
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/553024ab34e7307046388d20c29e9f9a8177aa0a
Cr-Commit-Position: refs/heads/master@{#14657}

Powered by Google App Engine