summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2023-07-17 20:31:38 +0200
committersfan5 <sfan5@live.de>2023-07-19 13:01:08 +0200
commit8aa8e21da91a575bf441e194a6756ddaf5315da7 (patch)
tree4708c991590178942328f8206121be1280080ee5 /video
parentd7ef91fecdd57e581f4b32451b926be982c4868d (diff)
downloadmpv-8aa8e21da91a575bf441e194a6756ddaf5315da7.tar.bz2
mpv-8aa8e21da91a575bf441e194a6756ddaf5315da7.tar.xz
image_writer: fix still-picture option for AVIF
Gets rid of validation warnings on the produced files.
Diffstat (limited to 'video')
-rw-r--r--video/image_writer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/image_writer.c b/video/image_writer.c
index 9f76bd3008..c8cde77304 100644
--- a/video/image_writer.c
+++ b/video/image_writer.c
@@ -372,7 +372,7 @@ static bool write_avif(struct image_writer_ctx *ctx, mp_image_t *image,
avctx->codec_type = AVMEDIA_TYPE_VIDEO;
avctx->pix_fmt = imgfmt2pixfmt(image->imgfmt);
- av_opt_set_int(avctx, "still-image", 1, AV_OPT_SEARCH_CHILDREN);
+ av_opt_set_int(avctx, "still-picture", 1, AV_OPT_SEARCH_CHILDREN);
AVDictionary *avd = NULL;
mp_set_avdict(&avd, ctx->opts->avif_opts);