Index: webrtc/media/engine/webrtcvideoengine2_unittest.cc |
diff --git a/webrtc/media/engine/webrtcvideoengine2_unittest.cc b/webrtc/media/engine/webrtcvideoengine2_unittest.cc |
index 06973e6f45dee78dc99d13f183be870cf494e497..d77c3c4806fa96dd68d6e3ad7b46fc20a9da9946 100644 |
--- a/webrtc/media/engine/webrtcvideoengine2_unittest.cc |
+++ b/webrtc/media/engine/webrtcvideoengine2_unittest.cc |
@@ -3430,6 +3430,7 @@ |
stats.frame_counts.delta_frames = 12; |
stats.frames_rendered = 13; |
stats.frames_decoded = 14; |
+ stats.qp_sum = rtc::Optional<uint64_t>(15); |
stream->SetStats(stats); |
cricket::VideoMediaInfo info; |
@@ -3449,6 +3450,7 @@ |
info.receivers[0].frames_received); |
EXPECT_EQ(stats.frames_rendered, info.receivers[0].frames_rendered); |
EXPECT_EQ(stats.frames_decoded, info.receivers[0].frames_decoded); |
+ EXPECT_EQ(stats.qp_sum, info.receivers[0].qp_sum); |
} |
TEST_F(WebRtcVideoChannel2Test, GetStatsTranslatesReceivePacketStatsCorrectly) { |