Browse Source

lavf: Remove experimental flag for Opus in WebM

Opus in WebM is no more experimental as we have everything necessary in
the container writing code as per the spec. So removing the experimental flag.
Note that we removed the experimental suffix from the CodecId field long
ago ( http://goo.gl/O0TYRB ).

Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.3
Vignesh Venkatasubramanian Michael Niedermayer 11 years ago
parent
commit
c14045c818
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavformat/matroskaenc.c

+ 2
- 2
libavformat/matroskaenc.c View File

@@ -761,11 +761,11 @@ static int mkv_write_tracks(AVFormatContext *s)

if (mkv->mode == MODE_WEBM && !(codec->codec_id == AV_CODEC_ID_VP8 ||
codec->codec_id == AV_CODEC_ID_VP9 ||
((codec->codec_id == AV_CODEC_ID_OPUS)&&(codec->strict_std_compliance <= FF_COMPLIANCE_EXPERIMENTAL)) ||
codec->codec_id == AV_CODEC_ID_OPUS ||
codec->codec_id == AV_CODEC_ID_VORBIS ||
codec->codec_id == AV_CODEC_ID_WEBVTT)) {
av_log(s, AV_LOG_ERROR,
"Only VP8,VP9 video and Vorbis,Opus(experimental, use -strict -2) audio and WebVTT subtitles are supported for WebM.\n");
"Only VP8,VP9 video and Vorbis,Opus audio and WebVTT subtitles are supported for WebM.\n");
return AVERROR(EINVAL);
}



Loading…
Cancel
Save