From 4f748c5343512623602635a1088940fc56164388 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Wed, 16 Aug 2023 22:02:20 -0500 Subject: [PATCH] Disable libsvtav1 due to showstopping bugs --- src/video.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/video.cpp b/src/video.cpp index cb05991d..65b6343d 100644 --- a/src/video.cpp +++ b/src/video.cpp @@ -831,7 +831,15 @@ namespace video { {}, // SDR-specific options {}, // HDR-specific options std::make_optional("qp"s, &config::video.qp), + +#ifdef ENABLE_BROKEN_AV1_ENCODER + // Due to bugs preventing on-demand IDR frames from working and very poor + // real-time encoding performance, we do not enable libsvtav1 by default. + // It is only suitable for testing AV1 until the IDR frame issue is fixed. "libsvtav1"s, +#else + {}, +#endif }, { // x265's Info SEI is so long that it causes the IDR picture data to be