[Bug 752492] New: dashdemux: suggestedPresentationDelay should be positive

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


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

            Bug ID: 752492
           Summary: dashdemux: suggestedPresentationDelay should be
                    positive
    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: ---

suggestedPresentationDelay has a type "xs:duration". This means that a negative
value is theoretically allowed. But in practice, it makes no sense.

The value is currently used only in gst_dash_demux_setup_streams function to
search for the Period corresponding to now. If it is negative, that time will
be in the future (the negated suggestedPresentationDelay  is added to now). The
result is that gst_dash_demux_setup_streams function will fail.

If the parser will reject negative values for  suggestedPresentationDelay, we
could pretend it wasn't provided and gst_dash_demux_setup_streams will be ok.

I can't imagine a valid case for a negative value for
suggestedPresentationDelay. Is there one?

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