Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarthick J <kjeyapal@akamai.com>2019-04-10 09:36:40 +0300
committerKarthick J <kjeyapal@akamai.com>2019-04-16 13:29:05 +0300
commitbcde9ec0205656e135dc9cafa66e585dd81301ed (patch)
tree976d3ce8564491831a4475b4ff65d0bc4ee30c72
parent036b4b0f85933f49a7094b5b568a93f68c9cd544 (diff)
avformat/dashenc: Disable streaming for webm output
Currently streaming for webm output doesn't work. Disabling explicitly will make sure that the manifest will get generated correctly.
-rw-r--r--libavformat/dashenc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c
index 4585a46202..5f1333e436 100644
--- a/libavformat/dashenc.c
+++ b/libavformat/dashenc.c
@@ -1203,6 +1203,11 @@ static int dash_init(AVFormatContext *s)
"Override -init_seg_name and/or -media_seg_name and/or "
"-single_file_name to end with the extension .webm\n");
}
+ if (c->streaming) {
+ // Streaming not supported as matroskaenc buffers internally before writing the output
+ av_log(s, AV_LOG_WARNING, "One or more streams in WebM output format. Streaming option will be ignored\n");
+ c->streaming = 0;
+ }
}
ctx->oformat = av_guess_format(os->format_name, NULL, NULL);