Re: [FFmpeg-devel] [PATCH v2 1/2] http: block while waiting for reconnecting

2018-01-04 Thread wm4
On Tue, 2 Jan 2018 17:19:14 +0100 wm4 wrote: > It makes no sense to return an error after the first reconnect, and then > somehow resume the next time it's called. Usually this will lead to > demuxer errors. Make reconnecting block instead, until it has either > successfully reconnected, or give

Re: [FFmpeg-devel] [PATCH v2 1/2] http: block while waiting for reconnecting

2018-01-04 Thread wm4
On Tue, 2 Jan 2018 17:19:14 +0100 wm4 wrote: > It makes no sense to return an error after the first reconnect, and then > somehow resume the next time it's called. Usually this will lead to > demuxer errors. Make reconnecting block instead, until it has either > successfully reconnected, or give

[FFmpeg-devel] [PATCH v2 1/2] http: block while waiting for reconnecting

2018-01-02 Thread wm4
It makes no sense to return an error after the first reconnect, and then somehow resume the next time it's called. Usually this will lead to demuxer errors. Make reconnecting block instead, until it has either successfully reconnected, or given up. Also make the wait reasonably interruptible. Sinc