Re: [FFmpeg-devel] [PATCH] hls: skip to next segment if the current is unavailable

2015-04-17 Thread Michael Niedermayer
On Thu, Apr 16, 2015 at 01:47:20PM +0200, wm4 wrote: > Apparently, some live streams can delete segments too early, maybe > because the client is too far behind. In this case, it's better to skip > the segment, instead of returning EOF. (Yes, the HLS demuxer actually > returns AVERROR_EOF if openin

Re: [FFmpeg-devel] [PATCH] hls: skip to next segment if the current is unavailable

2015-04-17 Thread wm4
On Thu, 16 Apr 2015 13:47:20 +0200 wm4 wrote: > Apparently, some live streams can delete segments too early, maybe > because the client is too far behind. In this case, it's better to skip > the segment, instead of returning EOF. (Yes, the HLS demuxer actually > returns AVERROR_EOF if opening the

[FFmpeg-devel] [PATCH] hls: skip to next segment if the current is unavailable

2015-04-16 Thread wm4
Apparently, some live streams can delete segments too early, maybe because the client is too far behind. In this case, it's better to skip the segment, instead of returning EOF. (Yes, the HLS demuxer actually returns AVERROR_EOF if opening the segment returns a 404 HTTP error.) --- I'd say this is