Don't set V bit in flexible mode
BUG=webrtc:4914 Review URL: https://codereview.webrtc.org/1291163007 Cr-Commit-Position: refs/heads/master@{#9848}
This commit is contained in:
@ -485,8 +485,10 @@ void VP9EncoderImpl::PopulateCodecSpecific(CodecSpecificInfo* codec_specific,
|
||||
vp9_info->inter_pic_predicted =
|
||||
(pkt.data.frame.flags & VPX_FRAME_IS_KEY) ? false : true;
|
||||
vp9_info->flexible_mode = codec_.codecSpecific.VP9.flexibleMode;
|
||||
vp9_info->ss_data_available =
|
||||
(pkt.data.frame.flags & VPX_FRAME_IS_KEY) ? true : false;
|
||||
vp9_info->ss_data_available = ((pkt.data.frame.flags & VPX_FRAME_IS_KEY) &&
|
||||
!codec_.codecSpecific.VP9.flexibleMode)
|
||||
? true
|
||||
: false;
|
||||
if (pkt.data.frame.flags & VPX_FRAME_IS_KEY) {
|
||||
gof_idx_ = 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user