mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-14 05:12:09 +00:00
vaapi: Fix sps_max_dec_pic_buffering_minus1 value in h265 decoder
Fixes decoding SLPPLP_A_VIDYO_2 sample. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7242>
This commit is contained in:
parent
4ff98d66bb
commit
6fe5d9013d
1 changed files with 2 additions and 1 deletions
|
@ -1987,7 +1987,8 @@ fill_picture (GstVaapiDecoderH265 * decoder, GstVaapiPictureH265 * picture,
|
|||
pic_param->pic_fields.bits.NoBiPredFlag = 0;
|
||||
|
||||
pic_param->sps_max_dec_pic_buffering_minus1 =
|
||||
sps->max_dec_pic_buffering_minus1[0];
|
||||
sps->max_dec_pic_buffering_minus1[sps->max_sub_layers_minus1];
|
||||
|
||||
COPY_FIELD (sps, bit_depth_luma_minus8);
|
||||
COPY_FIELD (sps, bit_depth_chroma_minus8);
|
||||
COPY_FIELD (sps, pcm_sample_bit_depth_luma_minus1);
|
||||
|
|
Loading…
Reference in a new issue