diff --git a/gst-libs/gst/codecparsers/gsth264parser.c b/gst-libs/gst/codecparsers/gsth264parser.c index d71b6950ad..13f51339de 100644 --- a/gst-libs/gst/codecparsers/gsth264parser.c +++ b/gst-libs/gst/codecparsers/gsth264parser.c @@ -1108,7 +1108,7 @@ gst_h264_parser_parse_pic_timing (GstH264NalParser * nalparser, vui->nal_hrd_parameters.cpb_removal_delay_length_minus1 + 1); READ_UINT32 (nr, tim->dpb_output_delay, vui->nal_hrd_parameters.dpb_output_delay_length_minus1 + 1); - } else if (vui->nal_hrd_parameters_present_flag) { + } else if (vui->vcl_hrd_parameters_present_flag) { READ_UINT32 (nr, tim->cpb_removal_delay, vui->vcl_hrd_parameters.cpb_removal_delay_length_minus1 + 1); READ_UINT32 (nr, tim->dpb_output_delay,