mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
hlsdemux: don't fail for playlists smaller than fragments-cache
https://bugzilla.gnome.org/show_bug.cgi?id=670963
This commit is contained in:
parent
5c2e6dc512
commit
5b0d2ce2b2
1 changed files with 2 additions and 0 deletions
|
@ -1067,6 +1067,8 @@ gst_hls_demux_cache_fragments (GstHLSDemux * demux)
|
|||
gst_m3u8_client_get_target_duration (demux->client)
|
||||
/ GST_SECOND * G_USEC_PER_SEC);
|
||||
if (!gst_hls_demux_get_next_fragment (demux)) {
|
||||
if (demux->end_of_playlist)
|
||||
break;
|
||||
if (!demux->cancelled)
|
||||
GST_ERROR_OBJECT (demux, "Error caching the first fragments");
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in a new issue