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 670963 - hlsdemux fails when the playlist is smaller than "fragments-cache"
hlsdemux fails when the playlist is smaller than "fragments-cache"
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 0.10.24
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-02-28 11:09 UTC by Xavier Queralt
Modified: 2012-02-28 12:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
hlsdemux: don't fail for playlists smaller than fragments-cache (882 bytes, patch)
2012-02-28 11:10 UTC, Xavier Queralt
committed Details | Review

Description Xavier Queralt 2012-02-28 11:09:50 UTC
When trying to play a video shorter than "fragments-cache", hlsdemux will fail while trying to cache the first fragments.

Attaching a patch to stop caching if we are at the end of the playlist.
Comment 1 Xavier Queralt 2012-02-28 11:10:37 UTC
Created attachment 208567 [details] [review]
hlsdemux: don't fail for playlists smaller than fragments-cache
Comment 2 Tim-Philipp Müller 2012-02-28 12:36:19 UTC
Haven't tested this (hope you have), but looks ok. Thanks for the patch!

 commit 5b0d2ce2b27d186b5318ce74af7ec942c10173e3
 Author: Xavier Queralt <xqueralt@gmail.com>
 Date:   Fri Feb 24 09:54:35 2012 +0100

    hlsdemux: don't fail for playlists smaller than fragments-cache
    
    https://bugzilla.gnome.org/show_bug.cgi?id=670963