[Bug 750804] dashdemux: incorrectly calculates presentationTimeOffset if the value is larger than 2^32

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jun 11 09:33:00 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=750804

--- Comment #1 from A Ashley <bugzilla at ashley-family.net> ---
Created attachment 305087
  --> https://bugzilla.gnome.org/attachment.cgi?id=305087&action=edit
dashdemux: fix error calculating large presentation time offset

If the presentationTimeOffset attribute of a DASH manifest contains a value
that is larger than 2^32, gstmpdparser incorrectly calculates the stream's
presentation time offset. This is due to two bugs:

1: Using gst_mpdparser_get_xml_prop_unsigned_integer rather than
   gst_mpdparser_get_xml_prop_unsigned_integer_64 to parse the
   attribute

2: gst_mpd_client_setup_representation multiplies the value by
   GST_SECOND and then divides by timescale, causing 64 bit overflow

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list