[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. __

[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

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

2018-09-16 Thread Artjom Vejsel
Signed-off-by: Artjom Vejsel --- Hello. I've faced an error while playing when downloading just stopped. It can be even few times at one film. After digging into source I've finished with knowledge that HTTP connection made only once and if it was not successfull, HTTP interface j