[FFmpeg-cvslog] smoothstreamingenc: Try writing a manifest when opening the muxer
Martin Storsjö
git at videolan.org
Sun Oct 7 11:43:25 CEST 2012
ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Sat Oct 6 02:30:18 2012 +0300| [8e2763786dd0ba0e895eafd6959a768608513eb6] | committer: 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: Martin Storsjö <martin at martin.st>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8e2763786dd0ba0e895eafd6959a768608513eb6
---
libavformat/smoothstreamingenc.c | 1 +
1 file changed, 1 insertion(+)
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)
More information about the ffmpeg-cvslog
mailing list