On Sat, May 31, 2014 at 09:23:37AM +0200, Anton Khirnov wrote:
> From: Tudor Suciu <tudor.su...@gmail.com>
> 
> Signed-off-by: Anton Khirnov <an...@khirnov.net>
> ---
> The webm official page does not mention that, but Google seems to claim those
> are now offically supported. Nice to see they are keeping all the matroska
> traditions.
> ---
>  libavformat/matroskaenc.c |    4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c
> index f6af0f8..919cdfd 100644
> --- a/libavformat/matroskaenc.c
> +++ b/libavformat/matroskaenc.c
> @@ -670,9 +670,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->codec_id == 
> AV_CODEC_ID_VORBIS)) {
>              av_log(s, AV_LOG_ERROR,
> -                   "Only VP8 video and Vorbis audio are supported for 
> WebM.\n");
> +                   "Only VP8 or VP9 video and Vorbis or Opus audio are 
> supported for WebM.\n");
>              return AVERROR(EINVAL);
>          }
>  
> -- 

meh, OK
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to