libs: encoder: h265: fill tier in va seq param buf

Now that tier is calculated in commit 58e74f9440 (!68),
ensure we fill in the general_tier_flag in the
VAEncSequenceParameterBufferHEVC.
This commit is contained in:
U. Artie Eoff 2019-04-10 11:43:33 -07:00 committed by Víctor Manuel Jáquez Leal
parent 07d43f75ba
commit 39e2fe11ed

View file

@ -1511,9 +1511,7 @@ fill_sequence (GstVaapiEncoderH265 * encoder, GstVaapiEncSequence * sequence)
seq_param->general_profile_idc = encoder->profile_idc;
seq_param->general_level_idc = encoder->level_idc;
seq_param->general_tier_flag = 0; /* FIXME: use the tier flag
* extracted from upstream
* caps or calcuted one */
seq_param->general_tier_flag = encoder->tier;
seq_param->intra_period = GST_VAAPI_ENCODER_KEYFRAME_PERIOD (encoder);
seq_param->intra_idr_period = encoder->idr_period;