From: Michael Olbrich Date: Fri, 17 Jun 2016 12:58:44 +0000 (+0200) Subject: h264parse: fix default time_offset_length X-Git-Tag: 1.10.4~588 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=378051d80a4d1d05df77d536e09d6d4d31a902df;p=platform%2Fupstream%2Fgst-plugins-bad.git 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 --- diff --git a/gst-libs/gst/codecparsers/gsth264parser.c b/gst-libs/gst/codecparsers/gsth264parser.c index 4a9b23b..bc84416 100644 --- a/gst-libs/gst/codecparsers/gsth264parser.c +++ b/gst-libs/gst/codecparsers/gsth264parser.c @@ -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)