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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user