vulkan h265 /w 10-bit + fix encoder hang (#565)
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
#endif
|
||||
#if WIVRN_USE_VULKAN_ENCODE
|
||||
#include "video_encoder_vulkan_h264.h"
|
||||
// #include "video_encoder_vulkan_h265.h"
|
||||
#include "video_encoder_vulkan_h265.h"
|
||||
#endif
|
||||
#include "video_encoder_raw.h"
|
||||
|
||||
@@ -122,9 +122,8 @@ std::unique_ptr<video_encoder> video_encoder::create(
|
||||
res = video_encoder_vulkan_h264::create(wivrn_vk, settings, fps, stream_idx);
|
||||
break;
|
||||
case video_codec::h265:
|
||||
throw std::runtime_error("h265 not supported for vulkan video encode");
|
||||
// res = video_encoder_vulkan_h265::create(wivrn_vk, settings, fps);
|
||||
// break;
|
||||
res = video_encoder_vulkan_h265::create(wivrn_vk, settings, fps, stream_idx);
|
||||
break;
|
||||
case video_codec::av1:
|
||||
throw std::runtime_error("av1 not supported for vulkan video encode");
|
||||
case video_codec::raw:
|
||||
|
||||
Reference in New Issue
Block a user