OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95f1004
)
dashenc: increase buffer time hint in the manifest
author
Anton Schubert
<ischluff@mailbox.org>
Thu, 26 Jan 2017 23:25:09 +0000
(
00:25
+0100)
committer
Martin Storsjö
<martin@martin.st>
Fri, 27 Jan 2017 12:34:17 +0000
(14:34 +0200)
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>
libavformat/dashenc.c
patch
|
blob
|
history
diff --git
a/libavformat/dashenc.c
b/libavformat/dashenc.c
index
865f50a
..
44785cd
100644
(file)
--- 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) {