mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-09 10:41:00 +08:00
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>
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user