[FFmpeg-cvslog] dashenc: increase buffer time hint in the manifest
Anton Schubert
git at videolan.org
Sat May 20 17:40:25 EEST 2017
ffmpeg | branch: master | Anton Schubert <ischluff at mailbox.org> | Fri Jan 27 00:25:09 2017 +0100| [3c2717e48dd8c5115f2be35c2afcabd8a1f67aee] | committer: Martin Storsjö
dashenc: increase buffer time hint in the manifest
to avoid rebuffering on the clientside for difficult network conditions.
Signed-off-by: Anton Schubert <ischluff at mailbox.org>
Signed-off-by: Martin Storsjö <martin at martin.st>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3c2717e48dd8c5115f2be35c2afcabd8a1f67aee
---
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<ProgramInformation>\n");
if (title) {
More information about the ffmpeg-cvslog
mailing list