h264parse: fix default time_offset_length

The default value for time_offset_length should be 24, see
section E2.2 of the H264 spec.

https://bugzilla.gnome.org/show_bug.cgi?id=767792
This commit is contained in:
Michael Olbrich 2016-06-17 14:58:44 +02:00 committed by Sebastian Dröge
parent dc762166f3
commit 378051d80a

View file

@ -947,7 +947,7 @@ gst_h264_parse_clock_timestamp (GstH264ClockTimestamp * tim,
}
}
time_offset_length = 0;
time_offset_length = 24;
if (vui->nal_hrd_parameters_present_flag)
time_offset_length = vui->nal_hrd_parameters.time_offset_length;
else if (vui->vcl_hrd_parameters_present_flag)