Commit eeca67e0 authored by Karthick J's avatar Karthick J

avformat/dashenc: Fix a bug with writing "final" manifest

This bug was introduced in the commit 951561b6
parent 613ca7b1
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment