From edafb9f529911438978ce025d45d11e3d8f57eb0 Mon Sep 17 00:00:00 2001 From: James Almer Date: Sun, 9 Sep 2018 17:26:09 -0300 Subject: [PATCH] avformat/movenc: remove experimental checks for AV1 streams The spec has been finalized. Signed-off-by: James Almer --- Changelog | 1 + libavformat/movenc.c | 8 -------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/Changelog b/Changelog index a49dbf70c4..01d974ed0f 100644 --- a/Changelog +++ b/Changelog @@ -24,6 +24,7 @@ version : - 1D LUT filter (lut1d) - RemotelyAnywhere Screen Capture decoder - cue and acue filters +- support for AV1 in MP4 version 4.0: diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 3ebc7abd8b..6b9c012bc6 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -6255,14 +6255,6 @@ static int mov_init(AVFormatContext *s) av_log(s, AV_LOG_ERROR, "%s only supported in MP4.\n", avcodec_get_name(track->par->codec_id)); return AVERROR(EINVAL); } - if (track->par->codec_id == AV_CODEC_ID_AV1 && - s->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL) { - av_log(s, AV_LOG_ERROR, - "av1 in MP4 support is experimental, add " - "'-strict %d' if you want to use it.\n", - FF_COMPLIANCE_EXPERIMENTAL); - return AVERROR_EXPERIMENTAL; - } } else if (track->par->codec_id == AV_CODEC_ID_VP8) { /* altref frames handling is not defined in the spec as of version v1.0, * so just forbid muxing VP8 streams altogether until a new version does */