[Bug 751832] New: dashdemux: segment list inherits segment URLs element from parent node

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jul 2 04:48:00 PDT 2015


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

            Bug ID: 751832
           Summary: dashdemux: segment list inherits segment URLs element
                    from parent node
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: florin.apostol at oregan.net
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

The standard says:
"SegmentBase, SegmentTemplate and SegmentList shall inherit attributes and
elements from the same element on a higher level. If the same attribute or
element is present on both levels, the one on the lower level shall take
precedence over the one on the higher level."

However, the implementation will inherit the segment URL elements from the
parent node, instead of overwriting them. For example, if the Adaptation has a
segment list with 2 segment URL elements and the Representation also has a
segment list with 2 segment URL elements, the stream will end up with 4
segments and this can lead to a total duration of more than period's duration.

My opinion is that the gst_mpdparser_parse_segment_list_node function should
replace the inherited segment urls if the parsed node also contains segment url
elements.

-- 
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