MediaCodecVideoEncoder: Add QP stats to Encoded callback for VP8.

BUG=

Review URL: https://codereview.webrtc.org/1884133003

Cr-Commit-Position: refs/heads/master@{#12435}
This commit is contained in:
asapersson
2016-04-19 23:48:21 -07:00
committed by Commit bot
parent 80381aac5c
commit 24ebc44f95

View File

@ -1042,6 +1042,7 @@ bool MediaCodecVideoEncoder::DeliverPendingOutputs(JNIEnv* jni) {
if (webrtc::vp8::GetQp(payload, payload_size, &qp)) { if (webrtc::vp8::GetQp(payload, payload_size, &qp)) {
current_acc_qp_ += qp; current_acc_qp_ += qp;
quality_scaler_.ReportQP(qp); quality_scaler_.ReportQP(qp);
image->qp_ = qp;
} }
} }
} else if (codecType_ == kVideoCodecH264) { } else if (codecType_ == kVideoCodecH264) {