Re: [FFmpeg-devel] [PATCH] libavformat/http: fix support for reconnect_at_eof

2024-10-09 Thread Radoslav Gerganov
On Wed, Oct 9, 2024 at 4:48 PM Rémi Denis-Courmont wrote: > > > AFAICT, reconnecting blindly makes no sense if the file size is known, > flag or no flag. > > With that said the current code seems odd. Normal seek semantics allow for > seeking to or even past the end of a file. The offset should n

[FFmpeg-devel] [PATCH] libavformat/http: fix support for reconnect_at_eof

2024-10-09 Thread Radoslav Gerganov
Fix regression introduced with commit 69fcc09 which doesn't honor reconnect_at_eof and breaks support for live/endless streams. For such streams we should reconnect at EOF and clients set the reconnect_at_eof option to signal this. Signed-off-by: Radoslav Gerganov --- libavformat/http.c