summaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorKarthick Jeyapal <kjeyapal@akamai.com>2018-04-23 11:40:33 +0530
committerKarthick Jeyapal <kjeyapal@akamai.com>2018-04-26 14:23:08 +0530
commit4c27a6fbfde12317bd7d10502d73fb74d566afc3 (patch)
tree0e75d71451b3cfae47da4513b63216102556928a /libavformat
parent060e74e2a970bb12ab138cfff5aaff8d132ffc65 (diff)
downloadffmpeg-streaming-4c27a6fbfde12317bd7d10502d73fb74d566afc3.zip
ffmpeg-streaming-4c27a6fbfde12317bd7d10502d73fb74d566afc3.tar.gz
avformat/dashenc: Set mp4 as the default format for VP9
There is a separate muxer(webmdashenc.c) for supporting VP9+webm output in DASH. Hence in this muxer we will focus on supporting VP9 in MP4 Have verified playout support of VP9+MP4 in Chrome and Firefox.
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/dashenc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c
index a5f58d4..211ef23 100644
--- a/libavformat/dashenc.c
+++ b/libavformat/dashenc.c
@@ -959,11 +959,10 @@ static int dash_init(AVFormatContext *s)
if (!ctx)
return AVERROR(ENOMEM);
- // choose muxer based on codec: webm for VP8/9 and opus, mp4 otherwise
+ // choose muxer based on codec: webm for VP8 and opus, mp4 otherwise
// note: os->format_name is also used as part of the mimetype of the
// representation, e.g. video/<format_name>
if (s->streams[i]->codecpar->codec_id == AV_CODEC_ID_VP8 ||
- s->streams[i]->codecpar->codec_id == AV_CODEC_ID_VP9 ||
s->streams[i]->codecpar->codec_id == AV_CODEC_ID_OPUS ||
s->streams[i]->codecpar->codec_id == AV_CODEC_ID_VORBIS) {
snprintf(os->format_name, sizeof(os->format_name), "webm");
OpenPOWER on IntegriCloud