Default to h264 for vulkan encode

This commit is contained in:
Patrick Nicolas committed 2024-11-10 16:46:28 +01:00
1 parent 308535a0f1
commit 3d062df2b6
1 file changed
+3
+3
View File
@@ -220,6 +220,9 @@ static void fill_defaults(wivrn_vk_bundle & bundle, const std::vector<wivrn::vid
}
#endif
if (config.name == encoder_vulkan and not config.codec)
config.codec = h264;
#if WIVRN_USE_X264
if (config.name == encoder_x264)
config.codec = h264;