diff --git a/mpp/codec/enc/h264/h264e_sps.c b/mpp/codec/enc/h264/h264e_sps.c old mode 100755 new mode 100644 index 656d4a56..b95cc918 --- a/mpp/codec/enc/h264/h264e_sps.c +++ b/mpp/codec/enc/h264/h264e_sps.c @@ -159,6 +159,11 @@ MPP_RET h264e_sps_update(SynH264eSps *sps, MppEncCfgSet *cfg, MppDeviceId dev) } memset(vui, 0, sizeof(*vui)); + vui->vui_present = 1; + vui->timing_info_present = 1; + vui->time_scale = rc->fps_out_num * 2; + vui->num_units_in_tick = rc->fps_out_denorm; + vui->fixed_frame_rate = !rc->fps_out_flex; return MPP_OK; }