Revert of Add tests for vp9 (non-flexible mode) using different spatial and temporal configurations. (patchset #18 id:580001 of https://codereview.webrtc.org/1437463002/ )
Reason for revert: Breaks bots Original issue's description: > Add tests for vp9 (non-flexible mode) using different spatial and temporal configurations. > > Specify kf_min_dist to get correct key frame interval in svc mode. > > BUG=chromium:500602 > > Committed: https://crrev.com/43b48066a7d75bb051eea1e6f451147339cc98a6 > Cr-Commit-Position: refs/heads/master@{#10862} TBR=pbos@webrtc.org,stefan@webrtc.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=chromium:500602 Review URL: https://codereview.webrtc.org/1492783002 Cr-Commit-Position: refs/heads/master@{#10863}
This commit is contained in:
@ -306,9 +306,6 @@ int VP9EncoderImpl::InitEncode(const VideoCodec* inst,
|
||||
if (inst->codecSpecific.VP9.keyFrameInterval > 0) {
|
||||
config_->kf_mode = VPX_KF_AUTO;
|
||||
config_->kf_max_dist = inst->codecSpecific.VP9.keyFrameInterval;
|
||||
// Needs to be set (in svc mode) to get correct periodic key frame interval
|
||||
// (will have no effect in non-svc).
|
||||
config_->kf_min_dist = config_->kf_max_dist;
|
||||
} else {
|
||||
config_->kf_mode = VPX_KF_DISABLED;
|
||||
}
|
||||
@ -547,7 +544,7 @@ void VP9EncoderImpl::PopulateCodecSpecific(CodecSpecificInfo* codec_specific,
|
||||
assert(codec_specific != NULL);
|
||||
codec_specific->codecType = kVideoCodecVP9;
|
||||
CodecSpecificInfoVP9 *vp9_info = &(codec_specific->codecSpecific.VP9);
|
||||
// TODO(asapersson): Set correct value.
|
||||
// TODO(asapersson): Set correct values.
|
||||
vp9_info->inter_pic_predicted =
|
||||
(pkt.data.frame.flags & VPX_FRAME_IS_KEY) ? false : true;
|
||||
vp9_info->flexible_mode = codec_.codecSpecific.VP9.flexibleMode;
|
||||
|
Reference in New Issue
Block a user