After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 756237 - adaptivedemux: waiting for playlist updates in case of fragment errors does not wait
adaptivedemux: waiting for playlist updates in case of fragment errors does n...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 1.7.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-10-08 10:44 UTC by Florin Apostol
Modified: 2015-10-30 11:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed patch (913 bytes, patch)
2015-10-08 10:46 UTC, Florin Apostol
committed Details | Review

Description Florin Apostol 2015-10-08 10:44:19 UTC
gst_adaptive_demux_stream_download_loop waits for playlist updates in case of errors. But if gst_adaptive_demux_stream_update_fragment_info returned error, the next_download will start with a value of 0, causing no sleeps and repeated requests to the server.

next_download should be initialized with g_get_monotonic_time ()
Comment 1 Florin Apostol 2015-10-08 10:46:02 UTC
Created attachment 312903 [details] [review]
proposed patch
Comment 2 Vincent Penquerc'h 2015-10-30 11:58:36 UTC
commit 519165e46162997dfa9383d6b7ba74c2bd516bf7
Author: Florin Apostol <florin.apostol@oregan.net>
Date:   Thu Oct 8 11:45:25 2015 +0100

    adaptivedemux: fixed waiting for fragment updates
    
    https://bugzilla.gnome.org/show_bug.cgi?id=756237