[FFmpeg-cvslog] avformat/dashenc: Fix a bug with writing "final" manifest
Karthick J
git at videolan.org
Mon Apr 22 09:08:44 EEST 2019
ffmpeg | branch: master | Karthick J <kjeyapal at akamai.com> | Wed Apr 17 11:44:07 2019 +0530| [eeca67e0232cc18c0a4b7c4bfa7ff4ee709078c2] | committer: Karthick J
avformat/dashenc: Fix a bug with writing "final" manifest
This bug was introduced in the commit 951561b64ee6c11f01daedd9dcf73276cc1e765b
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=eeca67e0232cc18c0a4b7c4bfa7ff4ee709078c2
---
libavformat/dashenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c
index 5f1333e436..b88d4b3496 100644
--- a/libavformat/dashenc.c
+++ b/libavformat/dashenc.c
@@ -1631,7 +1631,7 @@ static int dash_flush(AVFormatContext *s, int final, int stream)
}
}
if (ret >= 0) {
- if (c->has_video) {
+ if (c->has_video && !final) {
c->nr_of_streams_flushed++;
if (c->nr_of_streams_flushed != c->nr_of_streams_to_flush)
return ret;
More information about the ffmpeg-cvslog
mailing list