git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51888c8
)
avformat/dashenc: removed 'write_manifest' call from 'write_header'
author
Vishwanath Dixit
<vdixit@akamai.com>
Wed, 11 Apr 2018 07:01:26 +0000
(12:31 +0530)
committer
Karthick Jeyapal
<kjeyapal@akamai.com>
Tue, 17 Apr 2018 09:02:24 +0000
(14:32 +0530)
Calling 'write_manifest' from 'write_header' was causing creation of
first MPD with invalid values. Ex: zero @duration param value. Also,
the manifest files (MPD or M3U8s) should be created when at-least
one media frame is ready for consumption.
libavformat/dashenc.c
patch
|
blob
|
history
diff --git
a/libavformat/dashenc.c
b/libavformat/dashenc.c
index
4c2e63c
..
bf06a7b
100644
(file)
--- a/
libavformat/dashenc.c
+++ b/
libavformat/dashenc.c
@@
-1046,9
+1046,6
@@
static int dash_write_header(AVFormatContext *s)
if ((ret = avformat_write_header(os->ctx, NULL)) < 0)
return ret;
}
- ret = write_manifest(s, 0);
- if (!ret)
- av_log(s, AV_LOG_VERBOSE, "Manifest written to: %s\n", s->url);
return ret;
}