Commit 98227869 authored by Jean-Paul Saman's avatar Jean-Paul Saman

stream_filter/httplive.c: Relax condition in live playback.

When there is less then 3 times the target duration of data available in
the HLS stream print a warning and try to start anyway. Instead of aborting
playback. Other HLS clients seem to do the same.
parent ba75ce0f
...@@ -1595,8 +1595,7 @@ static int Open(vlc_object_t *p_this) ...@@ -1595,8 +1595,7 @@ static int Open(vlc_object_t *p_this)
if (p_sys->b_live && (p_sys->playback.segment < 0)) if (p_sys->b_live && (p_sys->playback.segment < 0))
{ {
msg_Err(s, "not enough data available for live playback, try again later"); msg_Warn(s, "less data then 3 times 'target duration' available for live playback, playback may stall");
goto fail;
} }
if (Prefetch(s, &current) != VLC_SUCCESS) if (Prefetch(s, &current) != VLC_SUCCESS)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment