summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Schubert <ischluff@mailbox.org>2017-01-27 00:25:09 +0100
committerMartin Storsjö <martin@martin.st>2017-01-27 14:34:17 +0200
commit3c2717e48dd8c5115f2be35c2afcabd8a1f67aee (patch)
tree2413ae1a8c6c7c19ee12eaf5298a508972b73140
parent95f1004bdfdf2d26c330c1d4b7c4ac9352d60b18 (diff)
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>
-rw-r--r--libavformat/dashenc.c2
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) {