After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 791602 - dashdemux: live streaming @availabilityStartTime xs:dateTime's timezone indicator is not parsed
dashdemux: live streaming @availabilityStartTime xs:dateTime's timezone indic...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 1.13.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-12-14 06:52 UTC by Jun Xie
Modified: 2017-12-18 13:11 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
parse xs:dateTime's timezone indicator (6.82 KB, patch)
2017-12-14 06:53 UTC, Jun Xie
committed Details | Review

Description Jun Xie 2017-12-14 06:52:27 UTC
<xs:attribute name="availabilityStartTime" type="xs:dateTime"/>
The lexical form of xs:dateTime is YYYY-MM-DDThh:mm:ss[Z|(+|-)hh:mm]

currently, timezone indicator (+|-)hh:mm] is not parsed.

some content provider, e.g. facebook, instagram, set @availabilityStartTime with timezone.
>dashdemux gstmpdparser.c:860:gst_mpdparser_get_xml_prop_dateTime:[00m dateTime: 2017-12-12T23:38:21-08:00, len 25

if timezone not parsed, live edge can not be calculated accurately.
Comment 1 Jun Xie 2017-12-14 06:53:51 UTC
Created attachment 365519 [details] [review]
parse xs:dateTime's timezone indicator
Comment 2 Edward Hervey 2017-12-18 13:10:49 UTC
commit cbcc01173b296aac109d89f42d59c6e8a170df90
Author: Jun Xie <jun.xie@samsung.com>
Date:   Thu Dec 14 15:18:38 2017 +0800

    dashdemux: parse xs:dateTime's timezone indicator
    
    The lexical form of xs:dateTime is YYYY-MM-DDThh:mm:ss[Z|(+|-)hh:mm]
    timezone indicator (+|-)hh:mm] needs to be parsed.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=791602