mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
vulkan/video: fix vui encoding
This is a single bit field.
Fixes: d46162981a ("vulkan/video: add h264 headers encode")
Reviewed-by: Hyunjun Ko <zzoon@igalia.com>
Tested-by: Bernhard C. Schrenk <clemy@clemy.org>
Reviewed-by: Bernhard C. Schrenk <clemy@clemy.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30968>
This commit is contained in:
parent
9bb10b58f3
commit
af425a63f7
1 changed files with 1 additions and 1 deletions
|
|
@ -1648,7 +1648,7 @@ vk_video_encode_h264_sps(const StdVideoH264SequenceParameterSet *sps,
|
|||
if (vui->flags.timing_info_present_flag) {
|
||||
vl_bitstream_put_bits(&enc, 32, vui->num_units_in_tick);
|
||||
vl_bitstream_put_bits(&enc, 32, vui->time_scale);
|
||||
vl_bitstream_put_bits(&enc, 32, vui->flags.fixed_frame_rate_flag);
|
||||
vl_bitstream_put_bits(&enc, 1, vui->flags.fixed_frame_rate_flag);
|
||||
}
|
||||
vl_bitstream_put_bits(&enc, 1, vui->flags.nal_hrd_parameters_present_flag);
|
||||
if (vui->flags.nal_hrd_parameters_present_flag)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue