diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2016-06-17 14:58:44 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-06-21 10:45:43 +0300 |
commit | 378051d80a4d1d05df77d536e09d6d4d31a902df (patch) | |
tree | c0175ccc52d39410bc45f4950231953e3a337007 /gst-libs/gst/codecparsers/gsth264parser.c | |
parent | dc762166f39799bf28f8293c161546f64006efb2 (diff) | |
download | gstreamer-plugins-bad-378051d80a4d1d05df77d536e09d6d4d31a902df.tar.gz |
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
Diffstat (limited to 'gst-libs/gst/codecparsers/gsth264parser.c')
-rw-r--r-- | gst-libs/gst/codecparsers/gsth264parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/codecparsers/gsth264parser.c b/gst-libs/gst/codecparsers/gsth264parser.c index 4a9b23bba..bc844165c 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) |