[Bug 752480] New: dashdemux: negative values for r attribute in S node are not supported

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jul 16 05:21:14 PDT 2015


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

            Bug ID: 752480
           Summary: dashdemux: negative values for r attribute in S node
                    are not supported
    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: ---

According to the standard, the r attribute in the S node can have negative
values: 
"A negative value of the @r attribute of the S element indicates that the
duration indicated in @d attribute repeats until the start of the next S
element, the end of the Period or until the next MPD update."

The parser will read the @r attribute as unsigned integer and store it in an
unsigned integer variable. This will lead to wrong behavior if a negative value
is present in the xml.

The parser should at least read it as a signed integer and issue a warning that
the feature is not supported.

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