Add QP for libvpx VP8 decoder.
BUG=webrtc:6541, webrtc:7065
TBR=hta@webrtc.org
Review-Url: https://codereview.webrtc.org/2656603002
Cr-Commit-Position: refs/heads/master@{#16722}
diff --git a/webrtc/pc/rtcstats_integrationtest.cc b/webrtc/pc/rtcstats_integrationtest.cc
index f27157b..9e92cda 100644
--- a/webrtc/pc/rtcstats_integrationtest.cc
+++ b/webrtc/pc/rtcstats_integrationtest.cc
@@ -536,14 +536,12 @@
const RTCInboundRTPStreamStats& inbound_stream) {
RTCStatsVerifier verifier(report_, &inbound_stream);
VerifyRTCRTPStreamStats(inbound_stream, &verifier);
- // TODO(hbos): As soon as the decoders provide |qp_sum| values, this
- // if-statement needs to be included. https://bugs.webrtc.org/7065
- // if (inbound_stream.media_type.is_defined() &&
- // *inbound_stream.media_type == "video") {
- // verifier.TestMemberIsNonNegative<uint64_t>(inbound_stream.qp_sum);
- // } else {
+ if (inbound_stream.media_type.is_defined() &&
+ *inbound_stream.media_type == "video") {
+ verifier.TestMemberIsNonNegative<uint64_t>(inbound_stream.qp_sum);
+ } else {
verifier.TestMemberIsUndefined(inbound_stream.qp_sum);
- // }
+ }
verifier.TestMemberIsNonNegative<uint32_t>(inbound_stream.packets_received);
verifier.TestMemberIsNonNegative<uint64_t>(inbound_stream.bytes_received);
verifier.TestMemberIsNonNegative<uint32_t>(inbound_stream.packets_lost);