mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-01 21:18:52 +00:00
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:
parent
07d43f75ba
commit
39e2fe11ed
1 changed files with 1 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue