From 1e1c84db106f5940af32e053362efea32cdaf669 Mon Sep 17 00:00:00 2001 From: ilnik Date: Thu, 9 Feb 2017 08:32:53 -0800 Subject: [PATCH] Fixing typo BUG=webrtc:7095 Review-Url: https://codereview.webrtc.org/2686033004 Cr-Commit-Position: refs/heads/master@{#16518} --- webrtc/video/video_quality_test.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webrtc/video/video_quality_test.cc b/webrtc/video/video_quality_test.cc index ea03911086..fad7e0764b 100644 --- a/webrtc/video/video_quality_test.cc +++ b/webrtc/video/video_quality_test.cc @@ -230,7 +230,7 @@ class VideoAnalyzer : public PacketReceiver, RtpUtility::RtpHeaderParser parser(packet, length); RTPHeader header; parser.Parse(&header); - if (!IsFlexfec(header.payloadType) && header.ssrc != ssrc_to_analyze_) { + if (!IsFlexfec(header.payloadType) && header.ssrc == ssrc_to_analyze_) { // Ignore FlexFEC timestamps, to avoid collisions with media timestamps. // (FlexFEC and media are sent on different SSRCs, which have different // timestamps spaces.) @@ -285,6 +285,7 @@ class VideoAnalyzer : public PacketReceiver, { rtc::CritScope lock(&crit_); if (rtp_timestamp_delta_ == 0 && header.ssrc == ssrc_to_analyze_) { + RTC_CHECK(static_cast(first_sent_timestamp_)); rtp_timestamp_delta_ = header.timestamp - *first_sent_timestamp_; }