src/src-js/src/demuxer/flv-hevc/flv-hevc.js中,_skip_hrd_parameters方法定义缺少参数hvcc
guwolf opened this issue · comments
代码文件src/src-js/src/demuxer/flv-hevc/flv-hevc.js中,
在调用_skip_hrd_parameters方法处,传了hvcc
5626: HevcSPSParser._skip_hrd_parameters(gb, hvcc, 1, max_sub_layers_minus1);
但在skip_hrd_parameters方法声明定义处,缺少hvcc参数
5691: HevcSPSParser._skip_hrd_parameters = function (gb, cprms_present_flag, max_sub_layers_minus1) {
导致vui_hrd_parameters_present_flag为1的h265码流,在播放时报错,hvcc is not defined,报错行号为:
5730: hvcc.fps_fixed = fixed_pic_rate_general_flag;