Support passthrough for stream
This commit is contained in:
@@ -32,7 +32,7 @@ namespace wivrn
|
||||
struct encoder_settings;
|
||||
struct wivrn_vk_bundle;
|
||||
|
||||
class video_encoder_va : public VideoEncoderFFMPEG
|
||||
class video_encoder_va : public video_encoder_ffmpeg
|
||||
{
|
||||
struct in_t
|
||||
{
|
||||
@@ -48,7 +48,7 @@ class video_encoder_va : public VideoEncoderFFMPEG
|
||||
bool synchronization2 = false;
|
||||
|
||||
public:
|
||||
video_encoder_va(wivrn_vk_bundle &, wivrn::encoder_settings & settings, float fps);
|
||||
video_encoder_va(wivrn_vk_bundle &, wivrn::encoder_settings & settings, float fps, uint8_t stream_index);
|
||||
|
||||
void present_image(vk::Image y_cbcr, vk::raii::CommandBuffer & cmd_buf, uint8_t slot) override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user