OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ea06ac
)
smoothstreamingenc: Try writing a manifest when opening the muxer
author
Martin Storsjö
<martin@martin.st>
Fri, 5 Oct 2012 23:30:18 +0000
(
02:30
+0300)
committer
Martin Storsjö
<martin@martin.st>
Sat, 6 Oct 2012 10:05:33 +0000
(13:05 +0300)
This allows failing cleaner and earlier if unable to write to
the output directory.
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/smoothstreamingenc.c
patch
|
blob
|
history
diff --git
a/libavformat/smoothstreamingenc.c
b/libavformat/smoothstreamingenc.c
index
cc34f7e
..
bafed70
100644
(file)
--- 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)