Index: webrtc/tools/py_event_log_analyzer/rtp_analyzer.py |
diff --git a/webrtc/tools/py_event_log_analyzer/rtp_analyzer.py b/webrtc/tools/py_event_log_analyzer/rtp_analyzer.py |
index c3374ca920194b00890d864115e492e3aad624f5..b4b3b9bf3e1a8a849f4d72885f66e6d92c141d7f 100644 |
--- a/webrtc/tools/py_event_log_analyzer/rtp_analyzer.py |
+++ b/webrtc/tools/py_event_log_analyzer/rtp_analyzer.py |
@@ -280,7 +280,7 @@ def calculate_delay(start, stop, step, points): |
masked array, in which time points with no value are masked. |
""" |
- grouped_delays = [[] for _ in numpy.arange(start, stop, step)] |
+ grouped_delays = [[] for _ in numpy.arange(start, stop + step, step)] |
rounded_value_index = lambda x: int((x - start) / step) |
for point in points: |
grouped_delays[rounded_value_index(point.real_send_time_ms) |