MediaCodecVideoEncoder: Add number of quality resolution downscales to Encoded callback.
BUG= Review URL: https://codereview.webrtc.org/1426033002 Cr-Commit-Position: refs/heads/master@{#10453}
This commit is contained in:
parent
69ccb33131
commit
075fb4bfea
@ -772,6 +772,8 @@ bool MediaCodecVideoEncoder::DeliverPendingOutputs(JNIEnv* jni) {
|
||||
image->_frameType =
|
||||
(key_frame ? webrtc::kVideoFrameKey : webrtc::kVideoFrameDelta);
|
||||
image->_completeFrame = true;
|
||||
image->adapt_reason_.quality_resolution_downscales =
|
||||
scale_ ? quality_scaler_.downscale_shift() : -1;
|
||||
|
||||
webrtc::CodecSpecificInfo info;
|
||||
memset(&info, 0, sizeof(info));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user