Commit 8e276378 authored by Martin Storsjö's avatar Martin Storsjö

smoothstreamingenc: Try writing a manifest when opening the muxer

This allows failing cleaner and earlier if unable to write to
the output directory.
Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent 3ea06ac5
......@@ -386,6 +386,7 @@ static int ism_write_header(AVFormatContext *s)
av_log(s, AV_LOG_WARNING, "no video stream and no min frag duration set\n");
ret = AVERROR(EINVAL);
}
ret = write_manifest(s, 0);
fail:
if (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