]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/librav1e.c
lavc: replace internal use of AV_CODEC_CAP_AUTO_THREADS with an internal cap
[ffmpeg] / libavcodec / librav1e.c
index 2d5acc7d8e28efc6179e40f80523c2279828cc6d..bd930736647da0ce12291ab46a4fb37797e45d2a 100644 (file)
@@ -625,6 +625,6 @@ AVCodec ff_librav1e_encoder = {
     .defaults       = librav1e_defaults,
     .pix_fmts       = librav1e_pix_fmts,
     .capabilities   = AV_CODEC_CAP_DELAY | AV_CODEC_CAP_AUTO_THREADS,
-    .caps_internal  = FF_CODEC_CAP_INIT_CLEANUP,
+    .caps_internal  = FF_CODEC_CAP_INIT_CLEANUP | FF_CODEC_CAP_AUTO_THREADS,
     .wrapper_name   = "librav1e",
 };