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

Michael Niedermayer michaelni at gmx.at
Sat Apr 18 00:14:31 CEST 2015


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 opening the segment returns a 404 HTTP error.)
> ---
> I'd say this is fairly controversial.
> ---
>  libavformat/hls.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

applied

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The real ebay dictionary, page 1
"Used only once"    - "Some unspecified defect prevented a second use"
"In good condition" - "Can be repaird by experienced expert"
"As is" - "You wouldnt want it even if you were payed for it, if you knew ..."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150418/7518635d/attachment.asc>


More information about the ffmpeg-devel mailing list