Merge remote-tracking branch 'upstream/master'
This commit is contained in:
@@ -314,7 +314,7 @@ void video_encoder::SendData(std::span<uint8_t> data, bool end_of_frame, bool co
|
||||
timing_info.send_begin = clock.to_headset(os_monotonic_get_ns());
|
||||
}
|
||||
|
||||
ssize_t max_payload_size = cnx->has_stream() ? to_headset::video_stream_data_shard::max_payload_size : std::numeric_limits<uint32_t>::max();
|
||||
ssize_t max_payload_size = (cnx->has_stream() and not control) ? to_headset::video_stream_data_shard::max_payload_size : std::numeric_limits<uint32_t>::max();
|
||||
|
||||
auto begin = data.begin();
|
||||
auto end = data.end();
|
||||
|
||||
@@ -498,7 +498,7 @@ void wivrn::video_encoder_vulkan::init(const vk::VideoCapabilitiesKHR & video_ca
|
||||
.flags = vk::CommandPoolCreateFlagBits::eResetCommandBuffer,
|
||||
.queueFamilyIndex = vk.encode_queue_family_index,
|
||||
});
|
||||
vk.name(query_pool, "vulkan encoder video command pool");
|
||||
vk.name(video_command_pool, "vulkan encoder video command pool");
|
||||
|
||||
auto command_buffers = vk.device.allocateCommandBuffers(
|
||||
{.commandPool = *video_command_pool,
|
||||
|
||||
Reference in New Issue
Block a user