mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-30 00:40:25 +01:00
radv/video: program frame number correctly.
doesn't appear to fix anything, but is more correct. Reviewed-by: Lynne <dev@lynne.ee> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23613>
This commit is contained in:
parent
efd4a162d3
commit
ff4e9fa2d5
1 changed files with 1 additions and 1 deletions
|
|
@ -869,7 +869,7 @@ static rvcn_dec_message_avc_t get_h264_msg(struct radv_video_session *vid,
|
|||
const struct VkVideoDecodeH264DpbSlotInfoKHR *dpb_slot =
|
||||
vk_find_struct_const(frame_info->pReferenceSlots[i].pNext, VIDEO_DECODE_H264_DPB_SLOT_INFO_KHR);
|
||||
|
||||
result.frame_num_list[i] = idx;
|
||||
result.frame_num_list[i] = dpb_slot->pStdReferenceInfo->FrameNum;
|
||||
result.field_order_cnt_list[i][0] = dpb_slot->pStdReferenceInfo->PicOrderCnt[0];
|
||||
result.field_order_cnt_list[i][1] = dpb_slot->pStdReferenceInfo->PicOrderCnt[1];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue