Browse Source

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>
tags/n1.1
Martin Storsjö 12 years ago
parent
commit
8e2763786d
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavformat/smoothstreamingenc.c

+ 1
- 0
libavformat/smoothstreamingenc.c View File

@@ -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)


Loading…
Cancel
Save