[vlc-commits] packetizer: h264: fix timings parsing regression
Francois Cartegnie
git at videolan.org
Thu Mar 16 11:37:47 CET 2017
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Mar 16 11:32:00 2017 +0100| [8804f827d7687b0453104f8227a381abbe3ce7e9] | committer: Francois Cartegnie
packetizer: h264: fix timings parsing regression
copy/paste
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8804f827d7687b0453104f8227a381abbe3ce7e9
---
modules/packetizer/h264.c | 2 +-
modules/packetizer/h264_nal.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/packetizer/h264.c b/modules/packetizer/h264.c
index 603ade7..e878bdc 100644
--- a/modules/packetizer/h264.c
+++ b/modules/packetizer/h264.c
@@ -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 =
diff --git a/modules/packetizer/h264_nal.h b/modules/packetizer/h264_nal.h
index 374a961..4ddff80 100644
--- a/modules/packetizer/h264_nal.h
+++ b/modules/packetizer/h264_nal.h
@@ -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;
More information about the vlc-commits
mailing list