diff options
author | Martin Storsjö <martin@martin.st> | 2012-10-06 02:30:18 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-10-06 13:05:33 +0300 |
commit | 8e2763786dd0ba0e895eafd6959a768608513eb6 (patch) | |
tree | c3014cb609737d4197528c0991787c2a07e2b649 /libavformat | |
parent | 3ea06ac59e76cc2a63553f5913a9a17ca7c6db82 (diff) | |
download | ffmpeg-streaming-8e2763786dd0ba0e895eafd6959a768608513eb6.zip ffmpeg-streaming-8e2763786dd0ba0e895eafd6959a768608513eb6.tar.gz |
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: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/smoothstreamingenc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/smoothstreamingenc.c b/libavformat/smoothstreamingenc.c index cc34f7e..bafed70 100644 --- a/libavformat/smoothstreamingenc.c +++ b/libavformat/smoothstreamingenc.c @@ -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) |