Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Vindicus999
2026-03-12 02:30:07 +00:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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();
+1 -1
View File
@@ -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,