mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
d3d12: fix d3d12_video_nalu_writer_h264::write_slice_svc_prefix
Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Reviewed by: Pohsiang (John) Hsu <pohhsu@microsoft.com> Reviewed-by: Jesse Natalie <None> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33312>
This commit is contained in:
parent
bf7edb9a2d
commit
7cd9de460b
1 changed files with 3 additions and 2 deletions
|
|
@ -692,14 +692,15 @@ d3d12_video_nalu_writer_h264::write_slice_svc_prefix(const H264_SLICE_PREFIX_SVC
|
|||
{
|
||||
rbsp.put_bits(1, nal_svc_prefix.store_ref_base_pic_flag);
|
||||
rbsp.put_bits(1, 0 /* additional_prefix_nal_unit_extension_flag */);
|
||||
|
||||
rbsp_trailing(&rbsp);
|
||||
rbsp.flush();
|
||||
}
|
||||
else
|
||||
{
|
||||
// No more_rbsp_data( ) so we don't need to code anything else
|
||||
}
|
||||
|
||||
rbsp_trailing(&rbsp);
|
||||
rbsp.flush();
|
||||
if (wrap_rbsp_into_nalu(&nalu, &rbsp, nal_svc_prefix.nal_ref_idc, NAL_TYPE_PREFIX, &nal_svc_prefix) <= 0u) {
|
||||
|
||||
debug_printf(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue