linux client: only show 10-bit if supported

This commit is contained in:
galister
2026-09-29 19:22:33 +02:00
committed by xytovl
parent 9062f082e5
commit e5923e155a
9 changed files with 106 additions and 28 deletions
+10 -2
View File
@@ -222,6 +222,14 @@ enum video_codec
raw,
};
struct video_codec_capability
{
video_codec codec;
bool supports_10bit;
bool operator==(const video_codec_capability &) const = default;
};
enum class stream_tab : uint8_t
{
hidden,
@@ -347,8 +355,8 @@ struct headset_info_packet
body_type body_tracking;
// htc body only
uint32_t num_generic_trackers;
std::vector<video_codec> supported_codecs; // from preferred to least preferred
std::optional<uint8_t> bit_depth;
std::vector<video_codec_capability> supported_codecs; // from preferred to least preferred
std::optional<uint8_t> bit_depth; // explicit preference
std::string system_name;
// Used for the application list