[Bug 751449] New: dashdemux: wrong duration computed by gst_mpd_client_setup_representation

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Jun 24 09:17:45 PDT 2015


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

            Bug ID: 751449
           Summary: dashdemux: wrong duration computed by
                    gst_mpd_client_setup_representation
    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 last parameter of gst_mpd_client_add_media_segment function is a duration.
But when called from gst_mpd_client_setup_representation, the last argument is
set to PeriodEnd:

      /* here we should have a single segment for each representation, whose
URL is encoded in the baseURL element */
      if (!gst_mpd_client_add_media_segment (stream, NULL, 1, 0, 0,
              PeriodEnd - PeriodStart, PeriodStart, PeriodEnd)) {
        return FALSE;
      }

The last argument should be PeriodEnd-PeriodStart.

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