Module: Mesa Branch: main Commit: 9e67866609cb55c2a75af4db146231995998abe2 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9e67866609cb55c2a75af4db146231995998abe2
Author: Benjamin Cheng <[email protected]> Date: Sat Sep 30 12:37:50 2023 -0400 radv/video: find SPS with pps_seq_parameter_set_id Reviewed-by: Lynne <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25490> --- src/amd/vulkan/radv_video.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/amd/vulkan/radv_video.c b/src/amd/vulkan/radv_video.c index 846b9c2ecb9..89349d20a96 100644 --- a/src/amd/vulkan/radv_video.c +++ b/src/amd/vulkan/radv_video.c @@ -928,7 +928,7 @@ get_h265_msg(struct radv_device *device, struct radv_video_session *vid, struct memset(&result, 0, sizeof(result)); const StdVideoH265SequenceParameterSet *sps = - vk_video_find_h265_dec_std_sps(¶ms->vk, h265_pic_info->pStdPictureInfo->sps_video_parameter_set_id); + vk_video_find_h265_dec_std_sps(¶ms->vk, h265_pic_info->pStdPictureInfo->pps_seq_parameter_set_id); const StdVideoH265PictureParameterSet *pps = vk_video_find_h265_dec_std_pps(¶ms->vk, h265_pic_info->pStdPictureInfo->pps_pic_parameter_set_id); @@ -1372,7 +1372,7 @@ get_uvd_h265_msg(struct radv_device *device, struct radv_video_session *vid, str memset(&result, 0, sizeof(result)); const StdVideoH265SequenceParameterSet *sps = - vk_video_find_h265_dec_std_sps(¶ms->vk, h265_pic_info->pStdPictureInfo->sps_video_parameter_set_id); + vk_video_find_h265_dec_std_sps(¶ms->vk, h265_pic_info->pStdPictureInfo->pps_seq_parameter_set_id); const StdVideoH265PictureParameterSet *pps = vk_video_find_h265_dec_std_pps(¶ms->vk, h265_pic_info->pStdPictureInfo->pps_pic_parameter_set_id);
