[Bug 757336] New: adaptivedemux: reset download_finished before starting the src element

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Oct 29 16:41:19 PDT 2015


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

            Bug ID: 757336
           Summary: adaptivedemux: reset download_finished before starting
                    the src element
    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 src element might post multiple errors on adaptive demux pipeline. When
getting error messages, adaptive demux will call
gst_adaptive_demux_stream_fragment_download_finish which will set
download_finished to TRUE. This means that if a second error message is
received, the download_finished will be set a second time, causing the next
download to be considered "finished". The
gst_adaptive_demux_stream_download_uri function will fail to wait for this
download.

The solution is to reset the download_finished while the src element is in
ready state, right before adaptive demux will put it in playing state.

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