Don't log warning when x264 is selected by user

This commit is contained in:
Patrick Nicolas
2026-10-23 19:41:14 +02:00
parent 170fb06d01
commit 75e2df579c
+2 -1
View File
@@ -267,7 +267,8 @@ public:
}
}
#endif
U_LOG_W("No suitable hardware accelerated codec found");
if (config.name != encoder_x264)
U_LOG_W("No suitable hardware accelerated codec found");
#if WIVRN_USE_X264
if (config.name.empty() or config.name == encoder_x264)
return {encoder_x264, video_codec::h264};