Commit 8804f827 authored by François Cartegnie's avatar François Cartegnie 🤞

packetizer: h264: fix timings parsing regression

copy/paste
parent 095642c6
......@@ -1067,7 +1067,7 @@ static bool ParseSeiCallback( const hxxx_sei_data_t *p_sei_data, void *cbdata )
if( p_sps->vui.b_valid )
{
if( p_sps->vui.b_pic_struct_present_flag )
if( p_sps->vui.b_hrd_parameters_present_flag )
{
bs_read( p_sei_data->p_bs, p_sps->vui.i_cpb_removal_delay_length_minus1 + 1 );
p_sys->i_dpb_output_delay =
......
......@@ -122,7 +122,7 @@ struct h264_sequence_parameter_set_t
uint32_t i_time_scale;
bool b_fixed_frame_rate;
bool b_pic_struct_present_flag;
bool b_hrd_parameters_present_flag;
bool b_hrd_parameters_present_flag; /* CpbDpbDelaysPresentFlag */
uint8_t i_cpb_removal_delay_length_minus1;
uint8_t i_dpb_output_delay_length_minus1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment