[FFmpeg-devel] [PATCH v2] http connect: retry few times before reporting about error

2018-09-19 Thread Artjom Vejsel
This should be an AVOption instead of a hardcoded number. I didn't change mechanism of attempts: there was attempts variable for auth with magical max attempts constant 3, I just add open attempts with the same 3 max attempts... Regards, Artjom. __

Re: [FFmpeg-devel] [PATCH v2] http connect: retry few times before reporting about error

2018-09-18 Thread Derek Buitenhuis
On 16/09/2018 23:01, Artjom Vejsel wrote: > Signed-off-by: Artjom Vejsel > --- > libavformat/http.c | 22 +++--- > 1 file changed, 15 insertions(+), 7 deletions(-) This should be an AVOption instead of a hardcoded number. - Derek ___

[FFmpeg-devel] [PATCH v2] http connect: retry few times before reporting about error

2018-09-18 Thread Artjom Vejsel
Signed-off-by: Artjom Vejsel --- libavformat/http.c | 22 +++--- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/libavformat/http.c b/libavformat/http.c index 4fdb2f13f2..d3558f522e 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -252,7 +252,7 @@ static