Merge commit 'd2ef708c95ace2518deffe830a9c439aeb9edd5d'
* commit 'd2ef708c95ace2518deffe830a9c439aeb9edd5d': matroskaenc: Allow VP9 and Opus in webm Conflicts: libavformat/matroskaenc.c See: 820ffaed0f64b7ec27275d093c6f81e181c86e94 Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
754bf1212c
@ -769,7 +769,7 @@ static int mkv_write_tracks(AVFormatContext *s)
|
|||||||
codec->codec_id == AV_CODEC_ID_VORBIS ||
|
codec->codec_id == AV_CODEC_ID_VORBIS ||
|
||||||
codec->codec_id == AV_CODEC_ID_WEBVTT)) {
|
codec->codec_id == AV_CODEC_ID_WEBVTT)) {
|
||||||
av_log(s, AV_LOG_ERROR,
|
av_log(s, AV_LOG_ERROR,
|
||||||
"Only VP8,VP9 video and Vorbis,Opus audio and WebVTT subtitles are supported for WebM.\n");
|
"Only VP8 or VP9 video and Vorbis or Opus audio and WebVTT subtitles are supported for WebM.\n");
|
||||||
return AVERROR(EINVAL);
|
return AVERROR(EINVAL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user