[Bug 751153] New: dashdemux: wrong representation index returned when max_bandwidth is 0

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jun 18 05:17:50 PDT 2015


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

            Bug ID: 751153
           Summary: dashdemux: wrong representation index returned when
                    max_bandwidth is 0
    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: ---

In gst_mpdparser_get_rep_idx_with_max_bandwidth function, if max_bandwidth is
<= 0, the function will return the first representation, but the comment says
it is intended to return the minimum representation.
  if (max_bandwidth <= 0)       /* 0 => get lowest representation available */
    return 0;

There is no mention in the standard that representations are ordered by their
bandwidth, so one of them is wrong. I suspect the comment is correct and the
function should return the lowest representation available, not the first 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