summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorVishwanath Dixit <vdixit@akamai.com>2018-04-11 12:31:26 +0530
committerKarthick Jeyapal <kjeyapal@akamai.com>2018-04-17 14:32:24 +0530
commit1263d91198676790527f288e9af52eeb8d6afc45 (patch)
tree7c5d3775b5d7eaa9ac4219c0bdaa765decf4129b /libavformat
parent51888c85d4c196bffa1a02907d7dcd98d538b889 (diff)
avformat/dashenc: removed 'write_manifest' call from 'write_header'
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.
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/dashenc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c
index 4c2e63c936..bf06a7be3b 100644
--- 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;
}