mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 16:18:06 +02:00
d3d12: d3d12_video_encoder_references_manager_h264 to use FrameDecodingOrderNumber as h264Pic->slice.frame_num
Fixes: da2cbfe3bf ("d3d12: Video Encode H264 to use direct DPB from frontend")
Reviewed-By: Pohsiang (John) Hsu <pohhsu@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31268>
This commit is contained in:
parent
96bf8f5a7d
commit
1b66866275
1 changed files with 1 additions and 1 deletions
|
|
@ -331,7 +331,7 @@ d3d12_video_encoder_references_manager_h264::begin_frame(D3D12_VIDEO_ENCODER_PIC
|
|||
m_curFrameState.idr_pic_id = h264Pic->idr_pic_id;
|
||||
m_curFrameState.FrameType = d3d12_video_encoder_convert_frame_type_h264(h264Pic->picture_type);
|
||||
m_curFrameState.PictureOrderCountNumber = h264Pic->pic_order_cnt;
|
||||
m_curFrameState.FrameDecodingOrderNumber = h264Pic->frame_num;
|
||||
m_curFrameState.FrameDecodingOrderNumber = h264Pic->slice.frame_num;
|
||||
m_curFrameState.TemporalLayerIndex = 0u; // h264Pic->temporal_id;
|
||||
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue