diff options
author | Anton Schubert <ischluff@mailbox.org> | 2017-01-27 00:25:09 +0100 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2017-01-27 14:34:17 +0200 |
commit | 3c2717e48dd8c5115f2be35c2afcabd8a1f67aee (patch) | |
tree | 2413ae1a8c6c7c19ee12eaf5298a508972b73140 /libavformat/dashenc.c | |
parent | 95f1004bdfdf2d26c330c1d4b7c4ac9352d60b18 (diff) | |
download | ffmpeg-3c2717e48dd8c5115f2be35c2afcabd8a1f67aee.tar.gz |
dashenc: increase buffer time hint in the manifest
to avoid rebuffering on the clientside for difficult network conditions.
Signed-off-by: Anton Schubert <ischluff@mailbox.org>
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/dashenc.c')
-rw-r--r-- | libavformat/dashenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |