Don't log warning when x264 is selected by user

This commit is contained in:
Patrick Nicolas authored and galister committed 2026-10-27 14:53:20 +09:00
1 parent 161bfa1783
commit 0751a5f712
1 file changed
+2 -1
+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};