Index: webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.mm |
diff --git a/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.mm b/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.mm |
index d3ce8208e41d0796babd006252bb298e4ff35afe..30ea92c8a807daf2b00909ad466232e0dbbc175a 100644 |
--- a/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.mm |
+++ b/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.mm |
@@ -646,6 +646,7 @@ void H264VideoToolboxEncoder::OnEncodedFrame( |
if (h264_bitstream_parser_.GetLastSliceQp(&qp)) { |
rtc::CritScope lock(&quality_scaler_crit_); |
quality_scaler_.ReportQP(qp); |
+ frame.qp_ = qp; |
} |
EncodedImageCallback::Result result = |