H264 encoder: Include QP information in encoded images
Set the |qp_| field in EncodedImage before calling OnEncodedImage. BUG=webrtc:6541 Review-Url: https://codereview.webrtc.org/2499003002 Cr-Commit-Position: refs/heads/master@{#15199}
This commit is contained in:
@ -1145,6 +1145,7 @@ bool MediaCodecVideoEncoder::DeliverPendingOutputs(JNIEnv* jni) {
|
||||
if (h264_bitstream_parser_.GetLastSliceQp(&qp)) {
|
||||
current_acc_qp_ += qp;
|
||||
quality_scaler_.ReportQP(qp);
|
||||
image->qp_ = qp;
|
||||
}
|
||||
}
|
||||
// For H.264 search for start codes.
|
||||
|
||||
Reference in New Issue
Block a user