[hal_h264e_vpu]: set extra_info_cfg->frame_rate to SPS

Change-Id: I9e612775f12adc402d6d62aeca19e2c147e929dd
Signed-off-by: Lin Kesheng <lks@rock-chips.com>
This commit is contained in:
Lin Kesheng
2016-10-21 11:41:47 +08:00
parent c056a31049
commit 60a05c1452

View File

@@ -1547,7 +1547,7 @@ static void hal_h264e_vpu_set_sps(h264e_hal_sps *sps, h264e_control_extra_info_c
sps->vui.b_timing_info_present = 1;
sps->vui.i_num_units_in_tick = 1;
sps->vui.i_time_scale = 0x19;
sps->vui.i_time_scale = cfg->frame_rate * 2;
sps->vui.b_fixed_frame_rate = 0;
sps->vui.b_nal_hrd_parameters_present = 0;