Skip to content

Commit 1f9e6d4

Browse files
committed
vcomp/lavc: fix default VP9 encoder for non-avx2
the default - libsvt_vp9 - requires AVX2 instructions so if not present, use the fallback. broken by some weird mistake since the commit ff3e34e (24th Oct 2025)
1 parent 5fb266f commit 1f9e6d4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/video_compress/libavcodec.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ static void cleanup(struct state_video_compress_libav *s);
200200

201201
const char *get_vp9_encoder(bool /* rgb */) {
202202
#ifdef __x86_64__
203-
return __builtin_cpu_supports("avx2") ? nullptr : "libaom-av1";
203+
return __builtin_cpu_supports("avx2") ? nullptr : "libvpx-vp9";
204204
#else
205205
return nullptr;
206206
#endif

0 commit comments

Comments
 (0)