From 3c2717e48dd8c5115f2be35c2afcabd8a1f67aee Mon Sep 17 00:00:00 2001 From: Anton Schubert Date: Fri, 27 Jan 2017 00:25:09 +0100 Subject: [PATCH] dashenc: increase buffer time hint in the manifest MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit to avoid rebuffering on the clientside for difficult network conditions. Signed-off-by: Anton Schubert Signed-off-by: Martin Storsjö --- libavformat/dashenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index 865f50a1cf..44785cd90d 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -481,7 +481,7 @@ static int write_manifest(AVFormatContext *s, int final) } } avio_printf(out, "\tminBufferTime=\""); - write_time(out, c->last_duration); + write_time(out, c->last_duration * 2); avio_printf(out, "\">\n"); avio_printf(out, "\t\n"); if (title) {