GNOME Bugzilla – Bug 767792
h264parse: fix default time_offset_length
Last modified: 2016-06-27 06:33:12 UTC
Created attachment 329960 [details] [review] h264parse: fix default time_offset_length The default value for time_offset_length should be 24. At least that's what ffmpeg is using. I have no idea where this value comes from. I just copied it from ffmpeg (libavcodec/h264_ps.c ff_h264_decode_seq_parameter_set()) and it fixes parsing my test video.
(In reply to Michael Olbrich from comment #0) > I have no idea where this value comes from. I just copied it from ffmpeg > (libavcodec/h264_ps.c ff_h264_decode_seq_parameter_set()) and it fixes > parsing my test video. Value is coming from the H.264 specification (E2.2): "When the time_offset_length syntax element is not present, it shall be inferred to be equal to 24." So it's a good default value :)
Attachment 329960 [details] pushed as 378051d - h264parse: fix default time_offset_length