Commit ebe851ed authored by François Cartegnie's avatar François Cartegnie 🤞
Browse files

packetizer: h264: store mbaff flag

parent 4c636142
......@@ -367,7 +367,7 @@ static bool h264_parse_sequence_parameter_set_rbsp( bs_t *p_bs,
/* b_frame_mbs_only */
p_sps->frame_mbs_only_flag = bs_read( p_bs, 1 );
if( !p_sps->frame_mbs_only_flag )
bs_skip( p_bs, 1 );
p_sps->mb_adaptive_frame_field_flag = bs_read( p_bs, 1 );
/* b_direct8x8_inference */
bs_skip( p_bs, 1 );
......
......@@ -103,6 +103,7 @@ struct h264_sequence_parameter_set_t
uint32_t bottom_offset;
} frame_crop;
uint8_t frame_mbs_only_flag;
uint8_t mb_adaptive_frame_field_flag;
int i_log2_max_frame_num;
int i_pic_order_cnt_type;
int i_delta_pic_order_always_zero_flag;
......
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